Class ClassPoolFiller

  • All Implemented Interfaces:
    ClassVisitor

    public class ClassPoolFiller
    extends java.lang.Object
    implements ClassVisitor
    This ClassVisitor collects all the classes it visits in a given class pool.
    • Constructor Detail

      • ClassPoolFiller

        public ClassPoolFiller​(ClassPool classPool)
        Creates a new ClassPoolFiller.
    • 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 interface ClassVisitor