wildcardTypes() — spring-boot Function Reference
Architecture documentation for the wildcardTypes() function in GenericsMetadataGenerationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 24780f4a_9148_10b7_6882_dfbbf207e2d2["wildcardTypes()"] 83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"] 24780f4a_9148_10b7_6882_dfbbf207e2d2 -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7 70751124_3e92_ed3e_7f93_61d2e98490d3["ofType()"] 24780f4a_9148_10b7_6882_dfbbf207e2d2 -->|calls| 70751124_3e92_ed3e_7f93_61d2e98490d3 a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"] 24780f4a_9148_10b7_6882_dfbbf207e2d2 -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc a7060ba0_7028_1911_946e_7c3090117119["fromSource()"] 24780f4a_9148_10b7_6882_dfbbf207e2d2 -->|calls| a7060ba0_7028_1911_946e_7c3090117119 c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239["getItems()"] 24780f4a_9148_10b7_6882_dfbbf207e2d2 -->|calls| c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239 style 24780f4a_9148_10b7_6882_dfbbf207e2d2 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 114–125
@Test
void wildcardTypes() {
ConfigurationMetadata metadata = compile(WildcardConfig.class);
assertThat(metadata).has(Metadata.withGroup("wildcard").ofType(WildcardConfig.class));
assertThat(metadata).has(Metadata.withProperty("wildcard.string-to-number")
.ofType("java.util.Map<java.lang.String,? extends java.lang.Number>")
.fromSource(WildcardConfig.class));
assertThat(metadata).has(Metadata.withProperty("wildcard.integers")
.ofType("java.util.List<? super java.lang.Integer>")
.fromSource(WildcardConfig.class));
assertThat(metadata.getItems()).hasSize(3);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does wildcardTypes() do?
wildcardTypes() is a function in the spring-boot codebase.
What does wildcardTypes() call?
wildcardTypes() calls 5 function(s): fromSource, getItems, ofType, withGroup, withProperty.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free