public class ClassPoolClassVisitor extends java.lang.Object implements ClassPoolVisitor, ClassVisitor
ClassPoolVisitor
and ClassVisitor
remembers the ClassPool
instances
that it visits and applies the given ClassPoolVisitor
to the most recently remembered
one, every time it visits a Clazz instance.Constructor and Description |
---|
ClassPoolClassVisitor(ClassPoolVisitor classPoolVisitor)
Creates a new ClassPoolClassVisitor.
|
Modifier and Type | Method and Description |
---|---|
void |
visitAnyClass(Clazz clazz)
Visits any Clazz instance.
|
void |
visitClassPool(ClassPool classPool) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitLibraryClass, visitProgramClass
public ClassPoolClassVisitor(ClassPoolVisitor classPoolVisitor)
classPoolVisitor
- public void visitClassPool(ClassPool classPool)
visitClassPool
in interface ClassPoolVisitor
public void visitAnyClass(Clazz clazz)
ClassVisitor
visitAnyClass
in interface ClassVisitor