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