public class ExceptionOffsetFilter extends java.lang.Object implements ExceptionInfoVisitor
ExceptionInfoVisitor delegates its visits to another given
ExceptionInfoVisitor, but only when the visited exception
covers the instruction at the given offset.| Constructor and Description |
|---|
ExceptionOffsetFilter(int instructionOffset,
ExceptionInfoVisitor exceptionInfoVisitor)
Creates a new ExceptionOffsetFilter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
visitExceptionInfo(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
ExceptionInfo exceptionInfo) |
public ExceptionOffsetFilter(int instructionOffset,
ExceptionInfoVisitor exceptionInfoVisitor)
instructionOffset - the instruction offset.exceptionInfoVisitor - the ExceptionInfoVisitor to which visits
will be delegated.public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
visitExceptionInfo in interface ExceptionInfoVisitor