Package proguard.classfile.editor
Class ExceptionAdder
java.lang.Object
proguard.classfile.editor.ExceptionAdder
- All Implemented Interfaces:
ConstantVisitor
This
ConstantVisitor adds all class constants that it visits to the given target
exceptions attribute.-
Constructor Summary
ConstructorsConstructorDescriptionExceptionAdder(ProgramClass targetClass, ExceptionsAttribute targetExceptionsAttribute) Creates a new ExceptionAdder that will copy classes into the given target exceptions attribute. -
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
-
ExceptionAdder
Creates a new ExceptionAdder that will copy classes into the given target exceptions attribute.
-
-
Method Details
-
visitClassConstant
- Specified by:
visitClassConstantin interfaceConstantVisitor
-