public class ConcreteClassDownTraveler extends java.lang.Object implements ClassVisitor
ClassVisitor
lets a given ClassVisitor
travel to the first concrete
subclasses down in its hierarchy of abstract classes and concrete classes.Constructor and Description |
---|
ConcreteClassDownTraveler(ClassVisitor classVisitor)
Creates a new ConcreteClassDownTraveler.
|
Modifier and Type | Method and Description |
---|---|
void |
visitAnyClass(Clazz clazz)
Visits any Clazz instance.
|
void |
visitLibraryClass(LibraryClass libraryClass) |
void |
visitProgramClass(ProgramClass programClass) |
public ConcreteClassDownTraveler(ClassVisitor classVisitor)
classVisitor
- the ClassVisitor
to which visits will be delegated.public void visitAnyClass(Clazz clazz)
ClassVisitor
visitAnyClass
in interface ClassVisitor
public void visitProgramClass(ProgramClass programClass)
visitProgramClass
in interface ClassVisitor
public void visitLibraryClass(LibraryClass libraryClass)
visitLibraryClass
in interface ClassVisitor