mergeExistingPropertyDescription() — spring-boot Function Reference
Architecture documentation for the mergeExistingPropertyDescription() function in MergeMetadataGenerationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 4b3e875b_e768_205a_0c1b_149f0189b9aa["mergeExistingPropertyDescription()"] 14d469eb_4ba7_e784_b4d8_11c5e9d3b187["newProperty()"] 4b3e875b_e768_205a_0c1b_149f0189b9aa -->|calls| 14d469eb_4ba7_e784_b4d8_11c5e9d3b187 a0b89884_7c7a_0fc8_975b_346d0a11f1b4["buildAdditionalMetadata()"] 4b3e875b_e768_205a_0c1b_149f0189b9aa -->|calls| a0b89884_7c7a_0fc8_975b_346d0a11f1b4 56afd5ff_85de_d8b5_5901_a76923fe9704["has()"] 4b3e875b_e768_205a_0c1b_149f0189b9aa -->|calls| 56afd5ff_85de_d8b5_5901_a76923fe9704 a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"] 4b3e875b_e768_205a_0c1b_149f0189b9aa -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc a7060ba0_7028_1911_946e_7c3090117119["fromSource()"] 4b3e875b_e768_205a_0c1b_149f0189b9aa -->|calls| a7060ba0_7028_1911_946e_7c3090117119 facc73e3_5f28_4513_9b1f_79367931e644["withDescription()"] 4b3e875b_e768_205a_0c1b_149f0189b9aa -->|calls| facc73e3_5f28_4513_9b1f_79367931e644 c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239["getItems()"] 4b3e875b_e768_205a_0c1b_149f0189b9aa -->|calls| c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239 style 4b3e875b_e768_205a_0c1b_149f0189b9aa 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 113–123
@Test
void mergeExistingPropertyDescription() throws Exception {
ItemMetadata property = ItemMetadata.newProperty("simple", "comparator", null, null, null, "A nice comparator.",
null, null);
String additionalMetadata = buildAdditionalMetadata(property);
ConfigurationMetadata metadata = compile(additionalMetadata, SimpleProperties.class);
assertThat(metadata).has(Metadata.withProperty("simple.comparator", "java.util.Comparator<?>")
.fromSource(SimpleProperties.class)
.withDescription("A nice comparator."));
assertThat(metadata.getItems()).hasSize(4);
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does mergeExistingPropertyDescription() do?
mergeExistingPropertyDescription() is a function in the spring-boot codebase.
What does mergeExistingPropertyDescription() call?
mergeExistingPropertyDescription() calls 7 function(s): buildAdditionalMetadata, fromSource, getItems, has, newProperty, withDescription, withProperty.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free