Package proguard.util
Class BasicHierarchyProvider
java.lang.Object
proguard.util.BasicHierarchyProvider
- All Implemented Interfaces:
HierarchyProvider
Basic implementation of
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 Summary
ConstructorsConstructorDescriptionBasicHierarchyProvider(ClassPool programClassPool, ClassPool libraryClassPool) -
Method Summary
-
Constructor Details
-
BasicHierarchyProvider
-
-
Method Details
-
getClazz
- Specified by:
getClazzin interfaceHierarchyProvider- Parameters:
className- name of theClazz.- Returns:
- The
Clazzobject.
-
getSubClasses
- Specified by:
getSubClassesin interfaceHierarchyProvider- Parameters:
className- name of the parentClazz.- Returns:
- A set of names of the subclasses, not including the parent
Clazz's.
-