simpleProperties() — spring-boot Function Reference
Architecture documentation for the simpleProperties() function in ConfigurationMetadataAnnotationProcessorTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 488bf290_a240_a910_efae_c97e099cd875["simpleProperties()"] 4e7738f0_ea94_abd8_5384_e7be1344cace["compile()"] 488bf290_a240_a910_efae_c97e099cd875 -->|calls| 4e7738f0_ea94_abd8_5384_e7be1344cace 83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"] 488bf290_a240_a910_efae_c97e099cd875 -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7 a7060ba0_7028_1911_946e_7c3090117119["fromSource()"] 488bf290_a240_a910_efae_c97e099cd875 -->|calls| a7060ba0_7028_1911_946e_7c3090117119 a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"] 488bf290_a240_a910_efae_c97e099cd875 -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc facc73e3_5f28_4513_9b1f_79367931e644["withDescription()"] 488bf290_a240_a910_efae_c97e099cd875 -->|calls| facc73e3_5f28_4513_9b1f_79367931e644 3a84f306_c04e_ed63_ecc7_7013edbb2681["withDefaultValue()"] 488bf290_a240_a910_efae_c97e099cd875 -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681 24e98b01_1aa8_27ae_189f_3eec90e0a528["withDeprecation()"] 488bf290_a240_a910_efae_c97e099cd875 -->|calls| 24e98b01_1aa8_27ae_189f_3eec90e0a528 style 488bf290_a240_a910_efae_c97e099cd875 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/ConfigurationMetadataAnnotationProcessorTests.java lines 145–162
@Test
void simpleProperties() {
ConfigurationMetadata metadata = compile(SimpleProperties.class);
assertThat(metadata).has(Metadata.withGroup("simple").fromSource(SimpleProperties.class));
assertThat(metadata).has(Metadata.withProperty("simple.the-name", String.class)
.fromSource(SimpleProperties.class)
.withDescription("The name of this simple properties.")
.withDefaultValue("boot")
.withDeprecation());
assertThat(metadata).has(Metadata.withProperty("simple.flag", Boolean.class)
.withDefaultValue(false)
.fromSource(SimpleProperties.class)
.withDescription("A simple flag.")
.withDeprecation());
assertThat(metadata).has(Metadata.withProperty("simple.comparator"));
assertThat(metadata).doesNotHave(Metadata.withProperty("simple.counter"));
assertThat(metadata).doesNotHave(Metadata.withProperty("simple.size"));
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does simpleProperties() do?
simpleProperties() is a function in the spring-boot codebase.
What does simpleProperties() call?
simpleProperties() calls 7 function(s): compile, fromSource, withDefaultValue, withDeprecation, withDescription, withGroup, withProperty.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free