proguard.classfile.visitor
Class ExceptionHandlerConstantVisitor

java.lang.Object
  extended by proguard.classfile.visitor.ExceptionHandlerConstantVisitor
All Implemented Interfaces:
ExceptionInfoVisitor

public class ExceptionHandlerConstantVisitor
extends java.lang.Object
implements ExceptionInfoVisitor

This ExceptionInfoVisitor lets a given ConstantVisitor visit all catch class constants of exceptions that it visits.


Constructor Summary
ExceptionHandlerConstantVisitor(ConstantVisitor constantVisitor)
          Creates a new ExceptionHandlerConstantVisitor.
 
Method Summary
 void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:
visitExceptionInfo in interface ExceptionInfoVisitor