addSingleItemMetadata() — spring-boot Function Reference
Architecture documentation for the addSingleItemMetadata() function in MetadataCollectorTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD ee858d0b_b2c6_8242_0135_0b43e40b154e["addSingleItemMetadata()"] c04718c1_4f96_61c9_8fb3_d6e3b5819110["createSimpleCollector()"] ee858d0b_b2c6_8242_0135_0b43e40b154e -->|calls| c04718c1_4f96_61c9_8fb3_d6e3b5819110 c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239["getItems()"] ee858d0b_b2c6_8242_0135_0b43e40b154e -->|calls| c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239 a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"] ee858d0b_b2c6_8242_0135_0b43e40b154e -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc 48f8fec2_2e27_3a1f_0f94_d07832e9810f["add()"] ee858d0b_b2c6_8242_0135_0b43e40b154e -->|calls| 48f8fec2_2e27_3a1f_0f94_d07832e9810f style ee858d0b_b2c6_8242_0135_0b43e40b154e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/MetadataCollectorTests.java lines 57–62
@Test
void addSingleItemMetadata() {
MetadataCollector collector = createSimpleCollector();
collector.add(SINGLE_ITEM_METADATA.getItems().get(0));
assertThat(collector.getMetadata()).has(Metadata.withProperty("name", String.class));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does addSingleItemMetadata() do?
addSingleItemMetadata() is a function in the spring-boot codebase.
What does addSingleItemMetadata() call?
addSingleItemMetadata() calls 4 function(s): add, createSimpleCollector, getItems, withProperty.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free