public class BasicHierarchyProvider extends java.lang.Object implements HierarchyProvider
HierarchyProvider, walking the class pools every time the
sub-classes of a class are needed. If there is need to compute the hierarchy for a class multiple
times and performance is a concern, rely on an implementation precomputing or caching the class
hierarchy.| Constructor and Description |
|---|
BasicHierarchyProvider(ClassPool programClassPool,
ClassPool libraryClassPool) |
| Modifier and Type | Method and Description |
|---|---|
Clazz |
getClazz(java.lang.String className) |
java.util.Set<java.lang.String> |
getSubClasses(java.lang.String className) |
public Clazz getClazz(java.lang.String className)
getClazz in interface HierarchyProviderclassName - name of the Clazz.Clazz object.public java.util.Set<java.lang.String> getSubClasses(java.lang.String className)
getSubClasses in interface HierarchyProviderclassName - name of the parent Clazz.Clazz's.