Package proguard.classfile.editor
Class ExceptionInfoAdder
- java.lang.Object
-
- proguard.classfile.editor.ExceptionInfoAdder
-
- All Implemented Interfaces:
ExceptionInfoVisitor
public class ExceptionInfoAdder extends java.lang.Object implements ExceptionInfoVisitor
ThisExceptionInfoVisitor
adds all exception information that it visits to the given target code attribute.
-
-
Constructor Summary
Constructors Constructor Description ExceptionInfoAdder(ProgramClass targetClass, CodeAttributeComposer targetComposer)
Creates a new ExceptionAdder that will copy exceptions into the given target code attribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
-
-
-
Constructor Detail
-
ExceptionInfoAdder
public ExceptionInfoAdder(ProgramClass targetClass, CodeAttributeComposer targetComposer)
Creates a new ExceptionAdder that will copy exceptions into the given target code attribute.
-
-
Method Detail
-
visitExceptionInfo
public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
- Specified by:
visitExceptionInfo
in interfaceExceptionInfoVisitor
-
-