Package proguard.classfile.visitor
Class ExceptionCounter
java.lang.Object
proguard.classfile.visitor.ExceptionCounter
- All Implemented Interfaces:
ExceptionInfoVisitor,Counter
This
ExceptionInfoVisitor counts the number of exceptions that has been visited.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCount()Returns the number of exceptions that has been visited so far.voidvisitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
-
Constructor Details
-
ExceptionCounter
public ExceptionCounter()
-
-
Method Details
-
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
-