Package org.apache.bcel.classfile
Class EnumElementValue
- java.lang.Object
-
- org.apache.bcel.classfile.ElementValue
-
- org.apache.bcel.classfile.EnumElementValue
-
public class EnumElementValue extends ElementValue
- Since:
- 6.0
-
-
Field Summary
-
Fields inherited from class org.apache.bcel.classfile.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 Constructor Description EnumElementValue(int type, int typeIdx, int valueIdx, ConstantPool cpool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dump(java.io.DataOutputStream dos)
java.lang.String
getEnumTypeString()
java.lang.String
getEnumValueString()
int
getTypeIndex()
int
getValueIndex()
java.lang.String
stringifyValue()
-
Methods inherited from class org.apache.bcel.classfile.ElementValue
getElementValueType, readElementValue, toShortString, toString
-
-
-
-
Constructor Detail
-
EnumElementValue
public EnumElementValue(int type, int typeIdx, int valueIdx, ConstantPool cpool)
-
-
Method Detail
-
dump
public void dump(java.io.DataOutputStream dos) throws java.io.IOException
- Specified by:
dump
in classElementValue
- Throws:
java.io.IOException
-
stringifyValue
public java.lang.String stringifyValue()
- Specified by:
stringifyValue
in classElementValue
-
getEnumTypeString
public java.lang.String getEnumTypeString()
-
getEnumValueString
public java.lang.String getEnumValueString()
-
getValueIndex
public int getValueIndex()
-
getTypeIndex
public int getTypeIndex()
-
-