Package proguard.classfile.editor
Class InterfaceAdder
java.lang.Object
proguard.classfile.editor.InterfaceAdder
- All Implemented Interfaces:
ConstantVisitor
This
ConstantVisitor adds all interfaces that it visits to the given target class.-
Constructor Summary
ConstructorsConstructorDescriptionInterfaceAdder(ProgramClass targetClass) Creates a new InterfaceAdder that will add interfaces to the given target class. -
Method Summary
Modifier and TypeMethodDescriptionvoidvisitClassConstant(Clazz clazz, ClassConstant classConstant) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface proguard.classfile.constant.visitor.ConstantVisitor
visitAnyConstant, visitAnyMethodrefConstant, visitAnyRefConstant, visitDoubleConstant, visitDynamicConstant, visitFieldrefConstant, visitFloatConstant, visitIntegerConstant, visitInterfaceMethodrefConstant, visitInvokeDynamicConstant, visitLongConstant, visitMethodHandleConstant, visitMethodrefConstant, visitMethodTypeConstant, visitModuleConstant, visitNameAndTypeConstant, visitPackageConstant, visitPrimitiveArrayConstant, visitStringConstant, visitUtf8Constant
-
Constructor Details
-
InterfaceAdder
Creates a new InterfaceAdder that will add interfaces to the given target class.
-
-
Method Details
-
visitClassConstant
- Specified by:
visitClassConstantin interfaceConstantVisitor
-