public class ExceptionCounter extends java.lang.Object implements ExceptionInfoVisitor, Counter
ExceptionInfoVisitor
counts the number of exceptions that has been visited.Constructor and Description |
---|
ExceptionCounter() |
Modifier and Type | Method and Description |
---|---|
int |
getCount()
Returns the number of exceptions that has been visited so far.
|
void |
visitExceptionInfo(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
ExceptionInfo exceptionInfo) |
public int getCount()
public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
visitExceptionInfo
in interface ExceptionInfoVisitor