public class ConstantElementValue extends ElementValue
ElementValue
represents a constant element value.Modifier and Type | Field and Description |
---|---|
char |
u1tag |
int |
u2constantValueIndex |
referencedClass, referencedMethod, TAG_ANNOTATION, TAG_ARRAY, TAG_CLASS, TAG_ENUM_CONSTANT, TAG_STRING_CONSTANT, u2elementNameIndex
processingFlags, processingInfo
Constructor and Description |
---|
ConstantElementValue(char u1tag)
Creates an uninitialized ConstantElementValue.
|
ConstantElementValue(char u1tag,
int u2elementNameIndex,
int u2constantValueIndex)
Creates an initialized ConstantElementValue.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(Clazz clazz,
Annotation annotation,
ElementValueVisitor elementValueVisitor)
Accepts the given visitor.
|
char |
getTag()
Returns the tag of this element value.
|
getMethodName, referencedMethodAccept
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
public ConstantElementValue(char u1tag)
public ConstantElementValue(char u1tag, int u2elementNameIndex, int u2constantValueIndex)
public char getTag()
ElementValue
getTag
in class ElementValue
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
ElementValue
accept
in class ElementValue