Package proguard.classfile.editor
Class SubclassAdder
java.lang.Object
proguard.classfile.editor.SubclassAdder
- All Implemented Interfaces:
ClassVisitor
This
ClassVisitor adds the given class to the list of subclasses of the classes that it
visits.-
Constructor Summary
ConstructorsConstructorDescriptionSubclassAdder(Clazz subclass) Creates a new SubclassAdder that will add the given subclass. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface proguard.classfile.visitor.ClassVisitor
visitLibraryClass, visitProgramClass
-
Constructor Details
-
SubclassAdder
Creates a new SubclassAdder that will add the given subclass.
-
-
Method Details
-
visitAnyClass
Description copied from interface:ClassVisitorVisits any Clazz instance. The more specific default implementations of this interface delegate to this method.- Specified by:
visitAnyClassin interfaceClassVisitor
-