public class ExceptionAdder extends java.lang.Object implements ConstantVisitor
ConstantVisitor adds all class constants that it visits to the given
target exceptions attribute.| Constructor and Description |
|---|
ExceptionAdder(ProgramClass targetClass,
ExceptionsAttribute targetExceptionsAttribute)
Creates a new ExceptionAdder that will copy classes into the given
target exceptions attribute.
|
| 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 ExceptionAdder(ProgramClass targetClass, ExceptionsAttribute targetExceptionsAttribute)
public void visitClassConstant(Clazz clazz, ClassConstant classConstant)
visitClassConstant in interface ConstantVisitor