程序包 proguard.util
类 BasicHierarchyProvider
- java.lang.Object
-
- proguard.util.BasicHierarchyProvider
-
- 所有已实现的接口:
HierarchyProvider
public class BasicHierarchyProvider extends java.lang.Object implements HierarchyProvider
Basic implementation ofHierarchyProvider, 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.
-
-
构造器概要
构造器 构造器 说明 BasicHierarchyProvider(ClassPool programClassPool, ClassPool libraryClassPool)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ClazzgetClazz(java.lang.String className)java.util.Set<java.lang.String>getSubClasses(java.lang.String className)
-
-
-
方法详细资料
-
getClazz
public Clazz getClazz(java.lang.String className)
- 指定者:
getClazz在接口中HierarchyProvider- 参数:
className- name of theClazz.- 返回:
- The
Clazzobject.
-
getSubClasses
public java.util.Set<java.lang.String> getSubClasses(java.lang.String className)
- 指定者:
getSubClasses在接口中HierarchyProvider- 参数:
className- name of the parentClazz.- 返回:
- A set of names of the subclasses, not including the parent
Clazz's.
-
-