public class ExceptionHandlerConstantVisitor extends java.lang.Object implements ExceptionInfoVisitor
ExceptionInfoVisitor
lets a given
ConstantVisitor
visit all catch class constants of exceptions
that it visits.Constructor and Description |
---|
ExceptionHandlerConstantVisitor(ConstantVisitor constantVisitor)
Creates a new ExceptionHandlerConstantVisitor.
|
Modifier and Type | Method and Description |
---|---|
void |
visitExceptionInfo(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
ExceptionInfo exceptionInfo) |
public ExceptionHandlerConstantVisitor(ConstantVisitor constantVisitor)
constantVisitor
- the ConstantVisitor that will visit the catch
class constants.public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
visitExceptionInfo
in interface ExceptionInfoVisitor