public class ExceptionRangeFilter extends Object implements ExceptionInfoVisitor
ExceptionInfoVisitor delegates its visits to another given
ExceptionInfoVisitor, but only when the visited exception
overlaps with the given instruction range.| Constructor and Description |
|---|
ExceptionRangeFilter(int startOffset,
int endOffset,
ExceptionInfoVisitor exceptionInfoVisitor)
Creates a new ExceptionRangeFilter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
visitExceptionInfo(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
ExceptionInfo exceptionInfo) |
public ExceptionRangeFilter(int startOffset,
int endOffset,
ExceptionInfoVisitor exceptionInfoVisitor)
startOffset - the start offset of the instruction range.endOffset - the end offset of the instruction range.exceptionInfoVisitor - the ExceptionInfoVisitor to which visits
will be delegated.public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
visitExceptionInfo in interface ExceptionInfoVisitorCopyright © 2015. All Rights Reserved.