public class ProgramClassFilter extends java.lang.Object implements ClassVisitor
ClassVisitor
delegates its visits to another given
ClassVisitor
, but only when visiting program classes.Constructor and Description |
---|
ProgramClassFilter(ClassVisitor classVisitor)
Creates a new ProgramClassFilter.
|
Modifier and Type | Method and Description |
---|---|
void |
visitAnyClass(Clazz clazz)
Visits any Clazz instance.
|
void |
visitProgramClass(ProgramClass programClass) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitLibraryClass
public ProgramClassFilter(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