Top Fields Constructors Methods
org.apache.bcel.generic

public Class ClassElementValueGen

extends ElementValueGen
Class Inheritance
Imports
java.io.DataOutputStream, .IOException, org.apache.bcel.classfile.ClassElementValue, .ConstantUtf8, .ElementValue

Since
6.0

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
ClassElementValueGen(final ClassElementValue value, final ConstantPoolGen cpool, final boolean copyPoolEntries)

protected
ClassElementValueGen(final int typeIdx, final ConstantPoolGen cpool)

public

Method Summary

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

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

Return immutable variant of this ClassElementValueGen
public int
public String
Inherited from org.apache.bcel.generic.ElementValueGen:
copygetConstantPoolgetElementValueTypereadElementValue

Field Detail

idxback to summary
private final int idx

Constructor Detail

ClassElementValueGenback to summary
public ClassElementValueGen(final ClassElementValue value, final ConstantPoolGen cpool, final boolean copyPoolEntries)
ClassElementValueGenback to summary
protected ClassElementValueGen(final int typeIdx, final ConstantPoolGen cpool)
ClassElementValueGenback to summary
public ClassElementValueGen(final ObjectType t, final ConstantPoolGen cpool)

Method Detail

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

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

Annotations
@Override
getClassStringback to summary
public String getClassString()
getElementValueback to summary
public ElementValue getElementValue()

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

Return immutable variant of this ClassElementValueGen

Annotations
@Override
getIndexback to summary
public int getIndex()
stringifyValueback to summary
public String stringifyValue()

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

Annotations
@Override