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, waitvisitAnyConstant, visitAnyMethodrefConstant, visitAnyRefConstant, visitDoubleConstant, visitDynamicConstant, visitFieldrefConstant, visitFloatConstant, visitIntegerConstant, visitInterfaceMethodrefConstant, visitInvokeDynamicConstant, visitLongConstant, visitMethodHandleConstant, visitMethodrefConstant, visitMethodTypeConstant, visitModuleConstant, visitNameAndTypeConstant, visitPackageConstant, visitPrimitiveArrayConstant, visitStringConstant, visitUtf8Constantpublic InterfaceAdder(ProgramClass targetClass)
public void visitClassConstant(Clazz clazz, ClassConstant classConstant)
visitClassConstant in interface ConstantVisitor