simpleGenericProperties() — spring-boot Function Reference
Architecture documentation for the simpleGenericProperties() function in GenericsMetadataGenerationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 876387c3_6caa_f829_78f2_b60bb6c9abab["simpleGenericProperties()"] 83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"] 876387c3_6caa_f829_78f2_b60bb6c9abab -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7 a7060ba0_7028_1911_946e_7c3090117119["fromSource()"] 876387c3_6caa_f829_78f2_b60bb6c9abab -->|calls| a7060ba0_7028_1911_946e_7c3090117119 a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"] 876387c3_6caa_f829_78f2_b60bb6c9abab -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc facc73e3_5f28_4513_9b1f_79367931e644["withDescription()"] 876387c3_6caa_f829_78f2_b60bb6c9abab -->|calls| facc73e3_5f28_4513_9b1f_79367931e644 3a84f306_c04e_ed63_ecc7_7013edbb2681["withDefaultValue()"] 876387c3_6caa_f829_78f2_b60bb6c9abab -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681 c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239["getItems()"] 876387c3_6caa_f829_78f2_b60bb6c9abab -->|calls| c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239 style 876387c3_6caa_f829_78f2_b60bb6c9abab fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/GenericsMetadataGenerationTests.java lines 41–55
@Test
void simpleGenericProperties() {
ConfigurationMetadata metadata = compile(AbstractGenericProperties.class, SimpleGenericProperties.class);
assertThat(metadata).has(Metadata.withGroup("generic").fromSource(SimpleGenericProperties.class));
assertThat(metadata).has(Metadata.withProperty("generic.name", String.class)
.fromSource(SimpleGenericProperties.class)
.withDescription("Generic name.")
.withDefaultValue(null));
assertThat(metadata)
.has(Metadata.withProperty("generic.mappings", "java.util.Map<java.lang.Integer,java.time.Duration>")
.fromSource(SimpleGenericProperties.class)
.withDescription("Generic mappings.")
.withDefaultValue(null));
assertThat(metadata.getItems()).hasSize(3);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does simpleGenericProperties() do?
simpleGenericProperties() is a function in the spring-boot codebase.
What does simpleGenericProperties() call?
simpleGenericProperties() calls 6 function(s): fromSource, getItems, withDefaultValue, withDescription, withGroup, withProperty.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free