public class InterfaceAdder extends java.lang.Object implements ConstantVisitor
ConstantVisitor
adds all interfaces that it visits to the given target class.Constructor and Description |
---|
InterfaceAdder(ProgramClass targetClass)
Creates a new InterfaceAdder that will add interfaces to the given target class.
|
Modifier and Type | Method and Description |
---|---|
void |
visitClassConstant(Clazz clazz,
ClassConstant classConstant) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitAnyConstant, visitAnyMethodrefConstant, visitAnyRefConstant, visitDoubleConstant, visitDynamicConstant, visitFieldrefConstant, visitFloatConstant, visitIntegerConstant, visitInterfaceMethodrefConstant, visitInvokeDynamicConstant, visitLongConstant, visitMethodHandleConstant, visitMethodrefConstant, visitMethodTypeConstant, visitModuleConstant, visitNameAndTypeConstant, visitPackageConstant, visitPrimitiveArrayConstant, visitStringConstant, visitUtf8Constant
public InterfaceAdder(ProgramClass targetClass)
public void visitClassConstant(Clazz clazz, ClassConstant classConstant)
visitClassConstant
in interface ConstantVisitor