类 ClassHierarchyTraveler
- java.lang.Object
-
- proguard.classfile.visitor.ClassHierarchyTraveler
-
- 所有已实现的接口:
ClassVisitor
public class ClassHierarchyTraveler extends java.lang.Object implements ClassVisitor
ThisClassVisitorlets a givenClassVisitoroptionally travel to the visited class, its superclass, its interfaces, and its subclasses.
-
-
构造器概要
构造器 构造器 说明 ClassHierarchyTraveler(boolean visitThisClass, boolean visitSuperClass, boolean visitInterfaces, boolean visitSubclasses, ClassVisitor classVisitor)Creates a new ClassHierarchyTraveler.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidvisitAnyClass(Clazz clazz)Visits any Clazz instance.-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 proguard.classfile.visitor.ClassVisitor
visitLibraryClass, visitProgramClass
-
-
-
-
构造器详细资料
-
ClassHierarchyTraveler
public ClassHierarchyTraveler(boolean visitThisClass, boolean visitSuperClass, boolean visitInterfaces, boolean visitSubclasses, ClassVisitor classVisitor)Creates a new ClassHierarchyTraveler.- 参数:
visitThisClass- specifies whether to visit the originally visited classes.visitSuperClass- specifies whether to visit the super classes of the visited classes.visitInterfaces- specifies whether to visit the interfaces of the visited classes.visitSubclasses- specifies whether to visit the subclasses of the visited classes.classVisitor- theClassVisitorto which visits will be delegated.
-
-
方法详细资料
-
visitAnyClass
public void visitAnyClass(Clazz clazz)
从接口复制的说明:ClassVisitorVisits any Clazz instance. The more specific default implementations of this interface delegate to this method.- 指定者:
visitAnyClass在接口中ClassVisitor
-
-