Top Fields Constructors Methods
org.apache.bcel.generic

public Class ArrayElementValueGen

extends ElementValueGen
Class Inheritance
Imports
java.io.DataOutputStream, .IOException, java.util.ArrayList, .List, org.apache.bcel.classfile.ArrayElementValue, .ElementValue

Since
6.0

Field Summary

Modifier and TypeField and Description
private final List<ElementValueGen>
Inherited from org.apache.bcel.generic.ElementValueGen:
ANNOTATIONARRAYCLASScpGenENUM_CONSTANTPRIMITIVE_BOOLEANPRIMITIVE_BYTEPRIMITIVE_CHARPRIMITIVE_DOUBLEPRIMITIVE_FLOATPRIMITIVE_INTPRIMITIVE_LONGPRIMITIVE_SHORTSTRINGtype

Constructor Summary

AccessConstructor and Description
public
ArrayElementValueGen(final ArrayElementValue value, final ConstantPoolGen cpool, final boolean copyPoolEntries)

public
public
ArrayElementValueGen(final int type, final ElementValue[] datums, final ConstantPoolGen cpool)

Method Summary

Modifier and TypeMethod and Description
public void
public void
public ElementValue
getElementValue()

Implements abstract org.apache.bcel.generic.ElementValueGen.getElementValue.

Return immutable variant of this ArrayElementValueGen
public List<ElementValueGen>
public int
public String
Inherited from org.apache.bcel.generic.ElementValueGen:
copygetConstantPoolgetElementValueTypereadElementValue

Field Detail

evaluesback to summary
private final List<ElementValueGen> evalues

Constructor Detail

ArrayElementValueGenback to summary
public ArrayElementValueGen(final ArrayElementValue value, final ConstantPoolGen cpool, final boolean copyPoolEntries)
ArrayElementValueGenback to summary
public ArrayElementValueGen(final ConstantPoolGen cp)
ArrayElementValueGenback to summary
public ArrayElementValueGen(final int type, final ElementValue[] datums, final ConstantPoolGen cpool)

Method Detail

addElementback to summary
public void addElement(final ElementValueGen gen)
dumpback to summary
public void dump(final DataOutputStream dos) throws IOException

Implements abstract org.apache.bcel.generic.ElementValueGen.dump.

Annotations
@Override
getElementValueback to summary
public ElementValue getElementValue()

Implements abstract org.apache.bcel.generic.ElementValueGen.getElementValue.

Return immutable variant of this ArrayElementValueGen

Annotations
@Override
getElementValuesback to summary
public List<ElementValueGen> getElementValues()
getElementValuesSizeback to summary
public int getElementValuesSize()
stringifyValueback to summary
public String stringifyValue()

Implements abstract org.apache.bcel.generic.ElementValueGen.stringifyValue.

Annotations
@Override