getComponentClass() — spring-boot Function Reference
Architecture documentation for the getComponentClass() function in BindableRuntimeHintsRegistrar.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 3da793e3_4d81_568d_4b78_6b30de9c4d4e["getComponentClass()"] e6716c4c_547c_d7c8_961f_888363263411["handleProperty()"] e6716c4c_547c_d7c8_961f_888363263411 -->|calls| 3da793e3_4d81_568d_4b78_6b30de9c4d4e 7d73889f_a724_6f54_a764_91e387a9c972["getComponentType()"] 3da793e3_4d81_568d_4b78_6b30de9c4d4e -->|calls| 7d73889f_a724_6f54_a764_91e387a9c972 d38da98b_68f8_aea8_d05b_55d4cb86a934["isContainer()"] 3da793e3_4d81_568d_4b78_6b30de9c4d4e -->|calls| d38da98b_68f8_aea8_d05b_55d4cb86a934 style 3da793e3_4d81_568d_4b78_6b30de9c4d4e 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 269–279
private @Nullable Class<?> getComponentClass(ResolvableType type) {
ResolvableType componentType = getComponentType(type);
if (componentType == null) {
return null;
}
if (isContainer(componentType)) {
// Resolve nested generics like Map<String, List<SomeType>>
return getComponentClass(componentType);
}
return componentType.toClass();
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does getComponentClass() do?
getComponentClass() is a function in the spring-boot codebase.
What does getComponentClass() call?
getComponentClass() calls 2 function(s): getComponentType, isContainer.
What calls getComponentClass()?
getComponentClass() is called by 1 function(s): handleProperty.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free