getComponentType() — spring-boot Function Reference
Architecture documentation for the getComponentType() function in BindableRuntimeHintsRegistrar.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 7d73889f_a724_6f54_a764_91e387a9c972["getComponentType()"] 3da793e3_4d81_568d_4b78_6b30de9c4d4e["getComponentClass()"] 3da793e3_4d81_568d_4b78_6b30de9c4d4e -->|calls| 7d73889f_a724_6f54_a764_91e387a9c972 1165635b_219d_6b71_1c81_d5d499e61837["isCollection()"] 7d73889f_a724_6f54_a764_91e387a9c972 -->|calls| 1165635b_219d_6b71_1c81_d5d499e61837 b2072061_2a90_714d_0347_8b2ace03835a["isMap()"] 7d73889f_a724_6f54_a764_91e387a9c972 -->|calls| b2072061_2a90_714d_0347_8b2ace03835a style 7d73889f_a724_6f54_a764_91e387a9c972 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/BindableRuntimeHintsRegistrar.java lines 281–292
private @Nullable ResolvableType getComponentType(ResolvableType type) {
if (type.isArray()) {
return type.getComponentType();
}
if (isCollection(type)) {
return type.asCollection().getGeneric();
}
if (isMap(type)) {
return type.asMap().getGeneric(1);
}
return null;
}
Domain
Subdomains
Calls
- isCollection()
- isMap()
Called By
Source
Frequently Asked Questions
What does getComponentType() do?
getComponentType() is a function in the spring-boot codebase.
What does getComponentType() call?
getComponentType() calls 2 function(s): isCollection, isMap.
What calls getComponentType()?
getComponentType() is called by 1 function(s): getComponentClass.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free