Package proguard.classfile.editor
Class InterfaceAdder
- java.lang.Object
-
- proguard.classfile.editor.InterfaceAdder
-
- All Implemented Interfaces:
ConstantVisitor
public class InterfaceAdder extends java.lang.Object implements ConstantVisitor
ThisConstantVisitor
adds all interfaces that it visits to the given target class.
-
-
Constructor Summary
Constructors Constructor Description InterfaceAdder(ProgramClass targetClass)
Creates a new InterfaceAdder that will add interfaces to the given target class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visitClassConstant(Clazz clazz, ClassConstant classConstant)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods 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 Detail
-
InterfaceAdder
public InterfaceAdder(ProgramClass targetClass)
Creates a new InterfaceAdder that will add interfaces to the given target class.
-
-
Method Detail
-
visitClassConstant
public void visitClassConstant(Clazz clazz, ClassConstant classConstant)
- Specified by:
visitClassConstant
in interfaceConstantVisitor
-
-