Package proguard.classfile.editor
Class ExceptionInfoAdder
java.lang.Object
proguard.classfile.editor.ExceptionInfoAdder
- All Implemented Interfaces:
ExceptionInfoVisitor
This
ExceptionInfoVisitor adds all exception information that it visits to the given
target code attribute.-
Constructor Summary
ConstructorsConstructorDescriptionExceptionInfoAdder(ProgramClass targetClass, CodeAttributeComposer targetComposer) Creates a new ExceptionAdder that will copy exceptions into the given target code attribute. -
Method Summary
Modifier and TypeMethodDescriptionvoidvisitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
-
Constructor Details
-
ExceptionInfoAdder
Creates a new ExceptionAdder that will copy exceptions into the given target code attribute.
-
-
Method Details
-
visitExceptionInfo
public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) - Specified by:
visitExceptionInfoin interfaceExceptionInfoVisitor
-