nestedPropertiesSource() — spring-boot Function Reference
Architecture documentation for the nestedPropertiesSource() function in ConfigurationMetadataAnnotationProcessorTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 41e14b2b_ba0d_2cf1_f9dd_23f295a4065f["nestedPropertiesSource()"] 4e7738f0_ea94_abd8_5384_e7be1344cace["compile()"] 41e14b2b_ba0d_2cf1_f9dd_23f295a4065f -->|calls| 4e7738f0_ea94_abd8_5384_e7be1344cace 6ba5298a_2b3e_c1e1_cfd1_cd60996092eb["withTestClasses()"] 41e14b2b_ba0d_2cf1_f9dd_23f295a4065f -->|calls| 6ba5298a_2b3e_c1e1_cfd1_cd60996092eb 6db1d912_8683_85db_65be_1a11eb09f91e["getMetadata()"] 41e14b2b_ba0d_2cf1_f9dd_23f295a4065f -->|calls| 6db1d912_8683_85db_65be_1a11eb09f91e a1ee3ca0_f457_04de_111e_70671aafebc4["getSourceMetadataLocation()"] 41e14b2b_ba0d_2cf1_f9dd_23f295a4065f -->|calls| a1ee3ca0_f457_04de_111e_70671aafebc4 a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"] 41e14b2b_ba0d_2cf1_f9dd_23f295a4065f -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc 70751124_3e92_ed3e_7f93_61d2e98490d3["ofType()"] 41e14b2b_ba0d_2cf1_f9dd_23f295a4065f -->|calls| 70751124_3e92_ed3e_7f93_61d2e98490d3 facc73e3_5f28_4513_9b1f_79367931e644["withDescription()"] 41e14b2b_ba0d_2cf1_f9dd_23f295a4065f -->|calls| facc73e3_5f28_4513_9b1f_79367931e644 83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"] 41e14b2b_ba0d_2cf1_f9dd_23f295a4065f -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7 c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239["getItems()"] 41e14b2b_ba0d_2cf1_f9dd_23f295a4065f -->|calls| c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239 style 41e14b2b_ba0d_2cf1_f9dd_23f295a4065f 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 986–997
@Test
void nestedPropertiesSource() {
compile(withTestClasses(NestedPropertiesSource.class), (compiled) -> {
ConfigurationMetadata metadata = CompiledMetadataReader.getMetadata(compiled,
getSourceMetadataLocation(NestedPropertiesSource.class));
assertThat(metadata).isNotNull()
.has(Metadata.withProperty("name").ofType(String.class).withDescription("A name."))
.has(Metadata.withGroup("nested").ofType(NestedPropertiesSource.Nested.class))
.has(Metadata.withProperty("nested.name").ofType(String.class).withDescription("Another name."));
assertThat(metadata.getItems()).hasSize(3);
});
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does nestedPropertiesSource() do?
nestedPropertiesSource() is a function in the spring-boot codebase.
What does nestedPropertiesSource() call?
nestedPropertiesSource() calls 9 function(s): compile, getItems, getMetadata, getSourceMetadataLocation, ofType, withDescription, withGroup, withProperty, and 1 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free