getTypeHierarchy() — spring-boot Function Reference
Architecture documentation for the getTypeHierarchy() function in NoSuchMethodFailureAnalyzer.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 43a280e3_9edf_5655_8561_a27649c9ed29["getTypeHierarchy()"] ba96dda0_314d_f09a_b707_6e3ff662fe37["getTypeHierarchy()"] ba96dda0_314d_f09a_b707_6e3ff662fe37 -->|calls| 43a280e3_9edf_5655_8561_a27649c9ed29 f2faecf2_c2f1_38a2_5cf9_009912821e18["getDescriptorForClass()"] f2faecf2_c2f1_38a2_5cf9_009912821e18 -->|calls| 43a280e3_9edf_5655_8561_a27649c9ed29 ba96dda0_314d_f09a_b707_6e3ff662fe37["getTypeHierarchy()"] 43a280e3_9edf_5655_8561_a27649c9ed29 -->|calls| ba96dda0_314d_f09a_b707_6e3ff662fe37 3e2869c5_7480_d722_9849_37be750de1dd["ClassDescriptor()"] 43a280e3_9edf_5655_8561_a27649c9ed29 -->|calls| 3e2869c5_7480_d722_9849_37be750de1dd e526d64b_6d33_b924_4700_ee127c387185["getLocation()"] 43a280e3_9edf_5655_8561_a27649c9ed29 -->|calls| e526d64b_6d33_b924_4700_ee127c387185 style 43a280e3_9edf_5655_8561_a27649c9ed29 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/diagnostics/analyzer/NoSuchMethodFailureAnalyzer.java lines 138–151
private @Nullable List<ClassDescriptor> getTypeHierarchy(Class<?> type) {
try {
List<ClassDescriptor> typeHierarchy = new ArrayList<>();
while (type != null && !type.equals(Object.class)) {
typeHierarchy.add(new ClassDescriptor(type.getCanonicalName(),
type.getProtectionDomain().getCodeSource().getLocation()));
type = type.getSuperclass();
}
return typeHierarchy;
}
catch (Throwable ex) {
return null;
}
}
Domain
Subdomains
Calls
- ClassDescriptor()
- getLocation()
- getTypeHierarchy()
Source
Frequently Asked Questions
What does getTypeHierarchy() do?
getTypeHierarchy() is a function in the spring-boot codebase.
What does getTypeHierarchy() call?
getTypeHierarchy() calls 3 function(s): ClassDescriptor, getLocation, getTypeHierarchy.
What calls getTypeHierarchy()?
getTypeHierarchy() is called by 2 function(s): getDescriptorForClass, getTypeHierarchy.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free