public class SubclassTraveler extends java.lang.Object implements ClassVisitor
ClassVisitor
lets a given ClassVisitor
travel to direct subclasses of the
visited class.Constructor and Description |
---|
SubclassTraveler(ClassVisitor classVisitor)
Creates a new ClassHierarchyTraveler.
|
Modifier and Type | Method and Description |
---|---|
void |
visitAnyClass(Clazz clazz)
Visits any Clazz instance.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitLibraryClass, visitProgramClass
public SubclassTraveler(ClassVisitor classVisitor)
classVisitor
- the ClassVisitor
to which visits will be delegated.public void visitAnyClass(Clazz clazz)
ClassVisitor
visitAnyClass
in interface ClassVisitor