proguard.classfile.attribute.annotation
Class ConstantElementValue
java.lang.Object
proguard.classfile.attribute.annotation.ElementValue
proguard.classfile.attribute.annotation.ConstantElementValue
- All Implemented Interfaces:
- VisitorAccepter
public class ConstantElementValue
- extends ElementValue
This ElementValue represents a constant element value.
|
Constructor Summary |
ConstantElementValue(int u1tag)
Creates an uninitialized ConstantElementValue. |
ConstantElementValue(int u1tag,
int u2elementNameIndex,
int u2constantValueIndex)
Creates an initialized ConstantElementValue. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
u1tag
public final int u1tag
u2constantValueIndex
public int u2constantValueIndex
ConstantElementValue
public ConstantElementValue(int u1tag)
- Creates an uninitialized ConstantElementValue.
ConstantElementValue
public ConstantElementValue(int u1tag,
int u2elementNameIndex,
int u2constantValueIndex)
- Creates an initialized ConstantElementValue.
getTag
public int getTag()
- Description copied from class:
ElementValue
- Returns the tag of this element value.
- Specified by:
getTag in class ElementValue
accept
public void accept(Clazz clazz,
Annotation annotation,
ElementValueVisitor elementValueVisitor)
- Description copied from class:
ElementValue
- Accepts the given visitor.
- Specified by:
accept in class ElementValue