Package org.apache.bcel.classfile
Class SimpleElementValue
java.lang.Object
org.apache.bcel.classfile.ElementValue
org.apache.bcel.classfile.SimpleElementValue
- 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 -
Method Summary
Modifier and TypeMethodDescriptionvoiddump(DataOutputStream dos) intgetIndex()booleanbytechardoublefloatintlongshortvoidsetIndex(int index) toString()Methods inherited from class org.apache.bcel.classfile.ElementValue
getElementValueType, readElementValue, readElementValue, toShortString
-
Constructor Details
-
SimpleElementValue
-
-
Method Details
-
dump
- Specified by:
dumpin classElementValue- Throws:
IOException
-
getIndex
- Returns:
- Value entry index in the cpool
-
getValueBoolean
-
getValueByte
-
getValueChar
-
getValueDouble
-
getValueFloat
-
getValueInt
-
getValueLong
-
getValueShort
-
getValueString
-
setIndex
-
stringifyValue
- Specified by:
stringifyValuein classElementValue
-
toString
- Overrides:
toStringin classElementValue
-