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[] datums, 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
-
ArrayElementValueGen
-
ArrayElementValueGen
public ArrayElementValueGen(ArrayElementValue value, ConstantPoolGen cpool, boolean copyPoolEntries) - Parameters:
value
-cpool
-
-
-
Method Details
-
getElementValue
Return immutable variant of this ArrayElementValueGen- Specified by:
getElementValue
in classElementValueGen
-
dump
- Specified by:
dump
in classElementValueGen
- Throws:
IOException
-
stringifyValue
- Specified by:
stringifyValue
in classElementValueGen
-
getElementValues
-
getElementValuesSize
public int getElementValuesSize() -
addElement
-