proguard.classfile.attribute
Class ExceptionsAttribute

java.lang.Object
  extended by proguard.classfile.attribute.Attribute
      extended by proguard.classfile.attribute.ExceptionsAttribute
All Implemented Interfaces:
VisitorAccepter

public class ExceptionsAttribute
extends Attribute

This Attribute represents an exceptions attribute.


Field Summary
 int[] u2exceptionIndexTable
           
 int u2exceptionIndexTableLength
           
 
Fields inherited from class proguard.classfile.attribute.Attribute
u2attributeNameIndex, visitorInfo
 
Constructor Summary
ExceptionsAttribute()
          Creates an uninitialized ExceptionsAttribute.
ExceptionsAttribute(int u2attributeNameIndex, int u2exceptionIndexTableLength, int[] u2exceptionIndexTable)
          Creates an initialized ExceptionsAttribute.
 
Method Summary
 void accept(Clazz clazz, Method method, AttributeVisitor attributeVisitor)
          Accepts the given visitor in the context of the given method.
 void exceptionEntriesAccept(ProgramClass programClass, ConstantVisitor constantVisitor)
          Applies the given constant pool visitor to all exception class pool info entries.
 
Methods inherited from class proguard.classfile.attribute.Attribute
accept, accept, accept, getAttributeName, getVisitorInfo, setVisitorInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

u2exceptionIndexTableLength

public int u2exceptionIndexTableLength

u2exceptionIndexTable

public int[] u2exceptionIndexTable
Constructor Detail

ExceptionsAttribute

public ExceptionsAttribute()
Creates an uninitialized ExceptionsAttribute.


ExceptionsAttribute

public ExceptionsAttribute(int u2attributeNameIndex,
                           int u2exceptionIndexTableLength,
                           int[] u2exceptionIndexTable)
Creates an initialized ExceptionsAttribute.

Method Detail

accept

public void accept(Clazz clazz,
                   Method method,
                   AttributeVisitor attributeVisitor)
Description copied from class: Attribute
Accepts the given visitor in the context of the given method.

Overrides:
accept in class Attribute

exceptionEntriesAccept

public void exceptionEntriesAccept(ProgramClass programClass,
                                   ConstantVisitor constantVisitor)
Applies the given constant pool visitor to all exception class pool info entries.