Package org.apache.bcel.generic
Class ArrayElementValueGen
java.lang.Object
org.apache.bcel.generic.ElementValueGen
org.apache.bcel.generic.ArrayElementValueGen
- Since:
- 6.0
-
Field Summary
Fields inherited from class org.apache.bcel.generic.ElementValueGen
ANNOTATION, ARRAY, CLASS, cpGen, ENUM_CONSTANT, PRIMITIVE_BOOLEAN, PRIMITIVE_BYTE, PRIMITIVE_CHAR, PRIMITIVE_DOUBLE, PRIMITIVE_FLOAT, PRIMITIVE_INT, PRIMITIVE_LONG, PRIMITIVE_SHORT, STRING, type
-
Constructor Summary
ConstructorDescriptionArrayElementValueGen
(int type, ElementValue[] elementValues, ConstantPoolGen cpool) ArrayElementValueGen
(ArrayElementValue value, ConstantPoolGen cpool, boolean copyPoolEntries) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
dump
(DataOutputStream dos) Return immutable variant of this ArrayElementValueGenint
Methods inherited from class org.apache.bcel.generic.ElementValueGen
copy, getConstantPool, getElementValueType, readElementValue
-
Constructor Details
-
ArrayElementValueGen
public ArrayElementValueGen(ArrayElementValue value, ConstantPoolGen cpool, boolean copyPoolEntries) - Parameters:
value
-cpool
-
-
ArrayElementValueGen
-
ArrayElementValueGen
-
-
Method Details
-
addElement
-
dump
- Specified by:
dump
in classElementValueGen
- Throws:
IOException
-
getElementValue
Return immutable variant of this ArrayElementValueGen- Specified by:
getElementValue
in classElementValueGen
-
getElementValues
-
getElementValuesSize
-
stringifyValue
- Specified by:
stringifyValue
in classElementValueGen
-