Package proguard.classfile.visitor
Class ExceptionHandlerConstantVisitor
- java.lang.Object
-
- proguard.classfile.visitor.ExceptionHandlerConstantVisitor
-
- All Implemented Interfaces:
ExceptionInfoVisitor
public class ExceptionHandlerConstantVisitor extends java.lang.Object implements ExceptionInfoVisitor
ThisExceptionInfoVisitorlets a givenConstantVisitorvisit all catch class constants of exceptions that it visits.
-
-
Constructor Summary
Constructors Constructor Description ExceptionHandlerConstantVisitor(ConstantVisitor constantVisitor)Creates a new ExceptionHandlerConstantVisitor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvisitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
-
-
-
Constructor Detail
-
ExceptionHandlerConstantVisitor
public ExceptionHandlerConstantVisitor(ConstantVisitor constantVisitor)
Creates a new ExceptionHandlerConstantVisitor.- Parameters:
constantVisitor- the ConstantVisitor that will visit the catch class constants.
-
-
Method Detail
-
visitExceptionInfo
public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
- Specified by:
visitExceptionInfoin interfaceExceptionInfoVisitor
-
-