Class EnumElementValue
- java.lang.Object
-
- org.aspectj.apache.bcel.classfile.annotation.ElementValue
-
- org.aspectj.apache.bcel.classfile.annotation.EnumElementValue
-
public class EnumElementValue extends ElementValue
-
-
Field Summary
-
Fields inherited from class org.aspectj.apache.bcel.classfile.annotation.ElementValue
ANNOTATION, ARRAY, CLASS, cpool, ENUM_CONSTANT, PRIMITIVE_BOOLEAN, PRIMITIVE_BYTE, PRIMITIVE_CHAR, PRIMITIVE_DOUBLE, PRIMITIVE_FLOAT, PRIMITIVE_INT, PRIMITIVE_LONG, PRIMITIVE_SHORT, STRING, type
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEnumElementValue(int typeIdx, int valueIdx, ConstantPool cpool)EnumElementValue(EnumElementValue value, ConstantPool cpool, boolean copyPoolEntries)EnumElementValue(ObjectType t, String value, ConstantPool cpool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddump(DataOutputStream dos)StringgetEnumTypeString()StringgetEnumValueString()intgetTypeIndex()intgetValueIndex()StringstringifyValue()StringtoString()-
Methods inherited from class org.aspectj.apache.bcel.classfile.annotation.ElementValue
copy, getConstantPool, getElementValueType, readElementValue
-
-
-
-
Constructor Detail
-
EnumElementValue
protected EnumElementValue(int typeIdx, int valueIdx, ConstantPool cpool)
-
EnumElementValue
public EnumElementValue(ObjectType t, String value, ConstantPool cpool)
-
EnumElementValue
public EnumElementValue(EnumElementValue value, ConstantPool cpool, boolean copyPoolEntries)
-
-
Method Detail
-
dump
public void dump(DataOutputStream dos) throws IOException
- Specified by:
dumpin classElementValue- Throws:
IOException
-
stringifyValue
public String stringifyValue()
- Specified by:
stringifyValuein classElementValue
-
getEnumTypeString
public String getEnumTypeString()
-
getEnumValueString
public String getEnumValueString()
-
getValueIndex
public int getValueIndex()
-
getTypeIndex
public int getTypeIndex()
-
-