mergeExistingPropertyDeprecation() — spring-boot Function Reference
Architecture documentation for the mergeExistingPropertyDeprecation() function in MergeMetadataGenerationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 492888c3_d3da_3e42_fa7f_da31e0ce0919["mergeExistingPropertyDeprecation()"] 14d469eb_4ba7_e784_b4d8_11c5e9d3b187["newProperty()"] 492888c3_d3da_3e42_fa7f_da31e0ce0919 -->|calls| 14d469eb_4ba7_e784_b4d8_11c5e9d3b187 603d28af_5a6a_6c37_e34e_ce2000af8852["ItemDeprecation()"] 492888c3_d3da_3e42_fa7f_da31e0ce0919 -->|calls| 603d28af_5a6a_6c37_e34e_ce2000af8852 a0b89884_7c7a_0fc8_975b_346d0a11f1b4["buildAdditionalMetadata()"] 492888c3_d3da_3e42_fa7f_da31e0ce0919 -->|calls| a0b89884_7c7a_0fc8_975b_346d0a11f1b4 56afd5ff_85de_d8b5_5901_a76923fe9704["has()"] 492888c3_d3da_3e42_fa7f_da31e0ce0919 -->|calls| 56afd5ff_85de_d8b5_5901_a76923fe9704 a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"] 492888c3_d3da_3e42_fa7f_da31e0ce0919 -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc a7060ba0_7028_1911_946e_7c3090117119["fromSource()"] 492888c3_d3da_3e42_fa7f_da31e0ce0919 -->|calls| a7060ba0_7028_1911_946e_7c3090117119 24e98b01_1aa8_27ae_189f_3eec90e0a528["withDeprecation()"] 492888c3_d3da_3e42_fa7f_da31e0ce0919 -->|calls| 24e98b01_1aa8_27ae_189f_3eec90e0a528 c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239["getItems()"] 492888c3_d3da_3e42_fa7f_da31e0ce0919 -->|calls| c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239 style 492888c3_d3da_3e42_fa7f_da31e0ce0919 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 125–135
@Test
void mergeExistingPropertyDeprecation() throws Exception {
ItemMetadata property = ItemMetadata.newProperty("simple", "comparator", null, null, null, null, null,
new ItemDeprecation("Don't use this.", "simple.complex-comparator", "1.2.3", "error"));
String additionalMetadata = buildAdditionalMetadata(property);
ConfigurationMetadata metadata = compile(additionalMetadata, SimpleProperties.class);
assertThat(metadata).has(Metadata.withProperty("simple.comparator", "java.util.Comparator<?>")
.fromSource(SimpleProperties.class)
.withDeprecation("Don't use this.", "simple.complex-comparator", "1.2.3", "error"));
assertThat(metadata.getItems()).hasSize(4);
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does mergeExistingPropertyDeprecation() do?
mergeExistingPropertyDeprecation() is a function in the spring-boot codebase.
What does mergeExistingPropertyDeprecation() call?
mergeExistingPropertyDeprecation() calls 8 function(s): ItemDeprecation, buildAdditionalMetadata, fromSource, getItems, has, newProperty, withDeprecation, withProperty.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free