descriptionProperties() — spring-boot Function Reference
Architecture documentation for the descriptionProperties() function in ConfigurationMetadataAnnotationProcessorTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD b50d13ed_087d_a46f_dd40_8022faa317f9["descriptionProperties()"] 4e7738f0_ea94_abd8_5384_e7be1344cace["compile()"] b50d13ed_087d_a46f_dd40_8022faa317f9 -->|calls| 4e7738f0_ea94_abd8_5384_e7be1344cace 83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"] b50d13ed_087d_a46f_dd40_8022faa317f9 -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7 a7060ba0_7028_1911_946e_7c3090117119["fromSource()"] b50d13ed_087d_a46f_dd40_8022faa317f9 -->|calls| a7060ba0_7028_1911_946e_7c3090117119 a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"] b50d13ed_087d_a46f_dd40_8022faa317f9 -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc facc73e3_5f28_4513_9b1f_79367931e644["withDescription()"] b50d13ed_087d_a46f_dd40_8022faa317f9 -->|calls| facc73e3_5f28_4513_9b1f_79367931e644 style b50d13ed_087d_a46f_dd40_8022faa317f9 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 226–240
@Test
void descriptionProperties() {
ConfigurationMetadata metadata = compile(DescriptionProperties.class);
assertThat(metadata).has(Metadata.withGroup("description").fromSource(DescriptionProperties.class));
assertThat(metadata).has(Metadata.withProperty("description.simple", String.class)
.fromSource(DescriptionProperties.class)
.withDescription("A simple description."));
assertThat(metadata).has(Metadata.withProperty("description.multi-line", String.class)
.fromSource(DescriptionProperties.class)
.withDescription(
"This is a lengthy description that spans across multiple lines to showcase that the line separators are cleaned automatically."));
assertThat(metadata).has(Metadata.withProperty("description.multi-line-whitespace", String.class)
.fromSource(DescriptionProperties.class)
.withDescription("This is an example of a description with unusual whitespace after a new line."));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does descriptionProperties() do?
descriptionProperties() is a function in the spring-boot codebase.
What does descriptionProperties() call?
descriptionProperties() calls 5 function(s): compile, fromSource, withDescription, withGroup, withProperty.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free