org.aspectj.apache.bcel.classfile.annotation
Class EnumElementValue
java.lang.Object
org.aspectj.apache.bcel.classfile.annotation.ElementValue
org.aspectj.apache.bcel.classfile.annotation.EnumElementValue
public class EnumElementValue
- extends ElementValue
Fields inherited from class org.aspectj.apache.bcel.classfile.annotation.ElementValue |
ANNOTATION, ARRAY, CLASS, ENUM_CONSTANT, PRIMITIVE_BOOLEAN, PRIMITIVE_BYTE, PRIMITIVE_CHAR, PRIMITIVE_DOUBLE, PRIMITIVE_FLOAT, PRIMITIVE_INT, PRIMITIVE_LONG, PRIMITIVE_SHORT, STRING |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EnumElementValue
public EnumElementValue(ObjectType t,
java.lang.String value,
ConstantPool cpool)
EnumElementValue
public EnumElementValue(EnumElementValue value,
ConstantPool cpool,
boolean copyPoolEntries)
dump
public void dump(java.io.DataOutputStream dos)
throws java.io.IOException
- Specified by:
dump
in class ElementValue
- Throws:
java.io.IOException
stringifyValue
public java.lang.String stringifyValue()
- return signature and value, something like Lp/Color;RED
- Specified by:
stringifyValue
in class ElementValue
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getEnumTypeString
public java.lang.String getEnumTypeString()
getEnumValueString
public java.lang.String getEnumValueString()
getValueIndex
public int getValueIndex()
getTypeIndex
public int getTypeIndex()