Package proguard.classfile.visitor
Class ConcreteClassDownTraveler
- java.lang.Object
-
- proguard.classfile.visitor.ConcreteClassDownTraveler
-
- All Implemented Interfaces:
ClassVisitor
public class ConcreteClassDownTraveler extends java.lang.Object implements ClassVisitor
ThisClassVisitor
lets a givenClassVisitor
travel to the first concrete subclasses down in its hierarchy of abstract classes and concrete classes.
-
-
Constructor Summary
Constructors Constructor Description ConcreteClassDownTraveler(ClassVisitor classVisitor)
Creates a new ConcreteClassDownTraveler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visitAnyClass(Clazz clazz)
Visits any Clazz instance.void
visitLibraryClass(LibraryClass libraryClass)
void
visitProgramClass(ProgramClass programClass)
-
-
-
Constructor Detail
-
ConcreteClassDownTraveler
public ConcreteClassDownTraveler(ClassVisitor classVisitor)
Creates a new ConcreteClassDownTraveler.- 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
-
visitProgramClass
public void visitProgramClass(ProgramClass programClass)
- Specified by:
visitProgramClass
in interfaceClassVisitor
-
visitLibraryClass
public void visitLibraryClass(LibraryClass libraryClass)
- Specified by:
visitLibraryClass
in interfaceClassVisitor
-
-