sourceFromParentClasIsDiscoveredForConcreteSource() — spring-boot Function Reference
Architecture documentation for the sourceFromParentClasIsDiscoveredForConcreteSource() function in ConfigurationMetadataAnnotationProcessorTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD b03f8c2b_3fa5_b90a_9de5_3a6b41d15da5["sourceFromParentClasIsDiscoveredForConcreteSource()"] 4e7738f0_ea94_abd8_5384_e7be1344cace["compile()"] b03f8c2b_3fa5_b90a_9de5_3a6b41d15da5 -->|calls| 4e7738f0_ea94_abd8_5384_e7be1344cace 83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"] b03f8c2b_3fa5_b90a_9de5_3a6b41d15da5 -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7 a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"] b03f8c2b_3fa5_b90a_9de5_3a6b41d15da5 -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc facc73e3_5f28_4513_9b1f_79367931e644["withDescription()"] b03f8c2b_3fa5_b90a_9de5_3a6b41d15da5 -->|calls| facc73e3_5f28_4513_9b1f_79367931e644 3a84f306_c04e_ed63_ecc7_7013edbb2681["withDefaultValue()"] b03f8c2b_3fa5_b90a_9de5_3a6b41d15da5 -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681 c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239["getItems()"] b03f8c2b_3fa5_b90a_9de5_3a6b41d15da5 -->|calls| c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239 style b03f8c2b_3fa5_b90a_9de5_3a6b41d15da5 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 737–749
@Test
void sourceFromParentClasIsDiscoveredForConcreteSource() {
ConfigurationMetadata metadata = compile(ConcreteSourceAnnotated.class, ConcreteSource.class);
assertThat(metadata).has(Metadata.withGroup("example", ConcreteSourceAnnotated.class))
.has(Metadata.withGroup("example.nested", ConcreteSource.class))
.has(Metadata.withProperty("example.nested.enabled", Boolean.class)
.withDescription("Whether the feature is enabled."))
.has(Metadata.withProperty("example.nested.username", String.class)
.withDescription("User name.")
.withDefaultValue("user"))
.has(Metadata.withProperty("example.nested.password", String.class).withDescription("Password."));
assertThat(metadata.getItems()).hasSize(5);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does sourceFromParentClasIsDiscoveredForConcreteSource() do?
sourceFromParentClasIsDiscoveredForConcreteSource() is a function in the spring-boot codebase.
What does sourceFromParentClasIsDiscoveredForConcreteSource() call?
sourceFromParentClasIsDiscoveredForConcreteSource() calls 6 function(s): compile, 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