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
ThisExceptionInfoVisitorcounts 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 intgetCount()Returns the number of exceptions that has been visited so far.voidvisitExceptionInfo(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:
visitExceptionInfoin interfaceExceptionInfoVisitor
-
-