Top Fields Constructors Methods
com.sun.org.apache.bcel.internal.generic

public Class ArrayElementValueGen

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

Since
6.0

Field Summary

Modifier and TypeField and Description
private final List<ElementValueGen>
Inherited from com.sun.org.apache.bcel.internal.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 com.sun.org.apache.bcel.internal.generic.ElementValueGen.getElementValue.

Return immutable variant of this ArrayElementValueGen
public List<ElementValueGen>
public int
public String
Inherited from com.sun.org.apache.bcel.internal.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 com.sun.org.apache.bcel.internal.generic.ElementValueGen.dump.

Annotations
@Override
getElementValueback to summary
public ElementValue getElementValue()

Implements abstract com.sun.org.apache.bcel.internal.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 com.sun.org.apache.bcel.internal.generic.ElementValueGen.stringifyValue.

Annotations
@Override