APIdia Launch Partner
Top Fields Constructors Methods
com.sun.org.apache.bcel.internal.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 com.sun.org.apache.bcel.internal.classfile.ElementValue:
ANNOTATIONARRAYCLASScpoolEMPTY_ARRAYENUM_CONSTANTPRIMITIVE_BOOLEANPRIMITIVE_BYTEPRIMITIVE_CHARPRIMITIVE_DOUBLEPRIMITIVE_FLOATPRIMITIVE_INTPRIMITIVE_LONGPRIMITIVE_SHORTSTRINGtype

Constructor Summary

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

Method Summary

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

Overrides com.sun.org.apache.bcel.internal.classfile.ElementValue.toString.

Returns a string representation of the object.

Inherited from com.sun.org.apache.bcel.internal.classfile.ElementValue:
getConstantPoolgetElementValueTypegetTypereadElementValuereadElementValuetoShortString

Field Detail

elementValuesback to summary
private final ElementValue[] elementValues

Constructor Detail

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

Method Detail

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

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

Annotations
@Override
toStringback to summary
public String toString()

Overrides com.sun.org.apache.bcel.internal.classfile.ElementValue.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override