public class ExceptionInfoAdder extends java.lang.Object implements ExceptionInfoVisitor
ExceptionInfoVisitor
adds all exception information that it visits to the given
target code attribute.Constructor and Description |
---|
ExceptionInfoAdder(ProgramClass targetClass,
CodeAttributeComposer targetComposer)
Creates a new ExceptionAdder that will copy exceptions into the given target code attribute.
|
Modifier and Type | Method and Description |
---|---|
void |
visitExceptionInfo(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
ExceptionInfo exceptionInfo) |
public ExceptionInfoAdder(ProgramClass targetClass, CodeAttributeComposer targetComposer)
public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
visitExceptionInfo
in interface ExceptionInfoVisitor