Top Fields Constructors Methods
org.apache.bcel.classfile

public Class ArrayElementValue

extends ElementValue
Class Inheritance
Imports
java.io.DataOutputStream, .IOException

Since
6.0

Field Summary

Modifier and TypeField and Description
private final ElementValue[]
Inherited from org.apache.bcel.classfile.ElementValue:
ANNOTATIONARRAYCLASScpoolENUM_CONSTANTPRIMITIVE_BOOLEANPRIMITIVE_BYTEPRIMITIVE_CHARPRIMITIVE_DOUBLEPRIMITIVE_FLOATPRIMITIVE_INTPRIMITIVE_LONGPRIMITIVE_SHORTSTRINGtype

Constructor Summary

AccessConstructor and Description
public
ArrayElementValue(final int type, final ElementValue[] datums, final ConstantPool cpool)

Method Summary

Modifier and TypeMethod and Description
public void
public ElementValue[]
public int
public String
public String
toString()

Overrides org.apache.bcel.classfile.ElementValue.toString.

Returns a string representation of the object.
Inherited from org.apache.bcel.classfile.ElementValue:
getConstantPoolgetElementValueTypegetTypereadElementValuereadElementValuetoShortString

Field Detail

elementValuesback to summary
private final ElementValue[] elementValues

Constructor Detail

ArrayElementValueback to summary
public ArrayElementValue(final int type, final ElementValue[] datums, final ConstantPool cpool)

Method Detail

dumpback to summary
public void dump(final DataOutputStream dos) throws IOException

Implements abstract org.apache.bcel.classfile.ElementValue.dump.

Annotations
@Override
getElementValuesArrayback to summary
public ElementValue[] getElementValuesArray()
getElementValuesArraySizeback to summary
public int getElementValuesArraySize()
stringifyValueback to summary
public String stringifyValue()

Implements abstract org.apache.bcel.classfile.ElementValue.stringifyValue.

Annotations
@Override
toStringback to summary
public String toString()

Overrides org.apache.bcel.classfile.ElementValue.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override