Package proguard.classfile.visitor
Class ExceptionCounter
- java.lang.Object
-
- proguard.classfile.visitor.ExceptionCounter
-
- All Implemented Interfaces:
ExceptionInfoVisitor
,Counter
public class ExceptionCounter extends java.lang.Object implements ExceptionInfoVisitor, Counter
ThisExceptionInfoVisitor
counts the number of exceptions that has been visited.
-
-
Constructor Summary
Constructors Constructor Description ExceptionCounter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCount()
Returns the number of exceptions that has been visited so far.void
visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
-
-
-
Method Detail
-
getCount
public int getCount()
Returns the number of exceptions that has been visited so far.
-
visitExceptionInfo
public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
- Specified by:
visitExceptionInfo
in interfaceExceptionInfoVisitor
-
-