Class SubclassRemover

  • All Implemented Interfaces:
    ClassVisitor

    public class SubclassRemover
    extends java.lang.Object
    implements ClassVisitor
    This ClassVisitor removes the given class from the list of subclasses of the classes that it visits.
    • Constructor Detail

      • SubclassRemover

        public SubclassRemover​(Clazz subclass)
        Creates a new SubclassRemover that will remove the given subclass.
    • 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