mergeExistingPropertyDeprecationOverride() — spring-boot Function Reference
Architecture documentation for the mergeExistingPropertyDeprecationOverride() function in MergeMetadataGenerationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 86db2a59_f717_17d6_b92c_067a0375ba30["mergeExistingPropertyDeprecationOverride()"] 14d469eb_4ba7_e784_b4d8_11c5e9d3b187["newProperty()"] 86db2a59_f717_17d6_b92c_067a0375ba30 -->|calls| 14d469eb_4ba7_e784_b4d8_11c5e9d3b187 603d28af_5a6a_6c37_e34e_ce2000af8852["ItemDeprecation()"] 86db2a59_f717_17d6_b92c_067a0375ba30 -->|calls| 603d28af_5a6a_6c37_e34e_ce2000af8852 a0b89884_7c7a_0fc8_975b_346d0a11f1b4["buildAdditionalMetadata()"] 86db2a59_f717_17d6_b92c_067a0375ba30 -->|calls| a0b89884_7c7a_0fc8_975b_346d0a11f1b4 56afd5ff_85de_d8b5_5901_a76923fe9704["has()"] 86db2a59_f717_17d6_b92c_067a0375ba30 -->|calls| 56afd5ff_85de_d8b5_5901_a76923fe9704 a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"] 86db2a59_f717_17d6_b92c_067a0375ba30 -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc a7060ba0_7028_1911_946e_7c3090117119["fromSource()"] 86db2a59_f717_17d6_b92c_067a0375ba30 -->|calls| a7060ba0_7028_1911_946e_7c3090117119 24e98b01_1aa8_27ae_189f_3eec90e0a528["withDeprecation()"] 86db2a59_f717_17d6_b92c_067a0375ba30 -->|calls| 24e98b01_1aa8_27ae_189f_3eec90e0a528 c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239["getItems()"] 86db2a59_f717_17d6_b92c_067a0375ba30 -->|calls| c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239 e8e90934_397b_b72b_06c2_bff3d0ed5ac5["getName()"] 86db2a59_f717_17d6_b92c_067a0375ba30 -->|calls| e8e90934_397b_b72b_06c2_bff3d0ed5ac5 style 86db2a59_f717_17d6_b92c_067a0375ba30 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/MergeMetadataGenerationTests.java lines 137–147
@Test
void mergeExistingPropertyDeprecationOverride() throws Exception {
ItemMetadata property = ItemMetadata.newProperty("singledeprecated", "name", null, null, null, null, null,
new ItemDeprecation("Don't use this.", "single.name", "1.2.3"));
String additionalMetadata = buildAdditionalMetadata(property);
ConfigurationMetadata metadata = compile(additionalMetadata, DeprecatedSingleProperty.class);
assertThat(metadata).has(Metadata.withProperty("singledeprecated.name", String.class.getName())
.fromSource(DeprecatedSingleProperty.class)
.withDeprecation("Don't use this.", "single.name", "1.2.3"));
assertThat(metadata.getItems()).hasSize(3);
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does mergeExistingPropertyDeprecationOverride() do?
mergeExistingPropertyDeprecationOverride() is a function in the spring-boot codebase.
What does mergeExistingPropertyDeprecationOverride() call?
mergeExistingPropertyDeprecationOverride() calls 9 function(s): ItemDeprecation, buildAdditionalMetadata, fromSource, getItems, getName, has, newProperty, withDeprecation, and 1 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free