proguard.classfile.attribute
Class LocalVariableTypeTableAttribute

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

public class LocalVariableTypeTableAttribute
extends Attribute

This Attribute represents a local variable table type attribute.


Field Summary
 LocalVariableTypeInfo[] localVariableTypeTable
           
 int u2localVariableTypeTableLength
           
 
Fields inherited from class proguard.classfile.attribute.Attribute
u2attributeNameIndex, visitorInfo
 
Constructor Summary
LocalVariableTypeTableAttribute()
          Creates an uninitialized LocalVariableTypeTableAttribute.
LocalVariableTypeTableAttribute(int u2attributeNameIndex, int u2localVariableTypeTableLength, LocalVariableTypeInfo[] localVariableTypeTable)
          Creates an initialized LocalVariableTypeTableAttribute.
 
Method Summary
 void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, AttributeVisitor attributeVisitor)
          Accepts the given visitor in the context of the given code attribute.
 void localVariablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeInfoVisitor localVariableTypeInfoVisitor)
          Applies the given visitor to all local variable types.
 
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

u2localVariableTypeTableLength

public int u2localVariableTypeTableLength

localVariableTypeTable

public LocalVariableTypeInfo[] localVariableTypeTable
Constructor Detail

LocalVariableTypeTableAttribute

public LocalVariableTypeTableAttribute()
Creates an uninitialized LocalVariableTypeTableAttribute.


LocalVariableTypeTableAttribute

public LocalVariableTypeTableAttribute(int u2attributeNameIndex,
                                       int u2localVariableTypeTableLength,
                                       LocalVariableTypeInfo[] localVariableTypeTable)
Creates an initialized LocalVariableTypeTableAttribute.

Method Detail

accept

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

Overrides:
accept in class Attribute

localVariablesAccept

public void localVariablesAccept(Clazz clazz,
                                 Method method,
                                 CodeAttribute codeAttribute,
                                 LocalVariableTypeInfoVisitor localVariableTypeInfoVisitor)
Applies the given visitor to all local variable types.