Package proguard.classfile.visitor
Class SubclassTraveler
- java.lang.Object
-
- proguard.classfile.visitor.SubclassTraveler
-
- All Implemented Interfaces:
ClassVisitor
public class SubclassTraveler extends java.lang.Object implements ClassVisitor
ThisClassVisitor
lets a givenClassVisitor
travel to direct subclasses of the visited class.
-
-
Constructor Summary
Constructors Constructor Description SubclassTraveler(ClassVisitor classVisitor)
Creates a new ClassHierarchyTraveler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visitAnyClass(Clazz clazz)
Visits any Clazz instance.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface proguard.classfile.visitor.ClassVisitor
visitLibraryClass, visitProgramClass
-
-
-
-
Constructor Detail
-
SubclassTraveler
public SubclassTraveler(ClassVisitor classVisitor)
Creates a new ClassHierarchyTraveler.- Parameters:
classVisitor
- theClassVisitor
to which visits will be delegated.
-
-
Method Detail
-
visitAnyClass
public void visitAnyClass(Clazz clazz)
Description copied from interface:ClassVisitor
Visits any Clazz instance. The more specific default implementations of this interface delegate to this method.- Specified by:
visitAnyClass
in interfaceClassVisitor
-
-