proguard.classfile.attribute
Class ConstantValueAttribute

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

public class ConstantValueAttribute
extends Attribute

This Attribute represents a constant value attribute.


Field Summary
 int u2constantValueIndex
           
 
Fields inherited from class proguard.classfile.attribute.Attribute
u2attributeNameIndex, visitorInfo
 
Constructor Summary
ConstantValueAttribute()
          Creates an uninitialized ConstantValueAttribute.
ConstantValueAttribute(int u2attributeNameIndex, int u2constantValueIndex)
          Creates an initialized ConstantValueAttribute.
 
Method Summary
 void accept(Clazz clazz, Field field, AttributeVisitor attributeVisitor)
          Accepts the given visitor in the context of the given field.
 
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

u2constantValueIndex

public int u2constantValueIndex
Constructor Detail

ConstantValueAttribute

public ConstantValueAttribute()
Creates an uninitialized ConstantValueAttribute.


ConstantValueAttribute

public ConstantValueAttribute(int u2attributeNameIndex,
                              int u2constantValueIndex)
Creates an initialized ConstantValueAttribute.

Method Detail

accept

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

Overrides:
accept in class Attribute