Top Fields Constructors Methods
org.apache.bcel.generic

public Class AnnotationElementValueGen

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

Since
6.0

Field Summary

Modifier and TypeField and Description
private final AnnotationEntryGen
a

Inherited from org.apache.bcel.generic.ElementValueGen:
ANNOTATIONARRAYCLASScpGenENUM_CONSTANTPRIMITIVE_BOOLEANPRIMITIVE_BYTEPRIMITIVE_CHARPRIMITIVE_DOUBLEPRIMITIVE_FLOATPRIMITIVE_INTPRIMITIVE_LONGPRIMITIVE_SHORTSTRINGtype

Constructor Summary

AccessConstructor and Description
public
AnnotationElementValueGen(final AnnotationElementValue value, final ConstantPoolGen cpool, final boolean copyPoolEntries)

public
public
AnnotationElementValueGen(final int type, final AnnotationEntryGen annotation, final ConstantPoolGen cpool)

Method Summary

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

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

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

Field Detail

aback to summary
private final AnnotationEntryGen a

Constructor Detail

AnnotationElementValueGenback to summary
public AnnotationElementValueGen(final AnnotationElementValue value, final ConstantPoolGen cpool, final boolean copyPoolEntries)
AnnotationElementValueGenback to summary
public AnnotationElementValueGen(final AnnotationEntryGen a, final ConstantPoolGen cpool)
AnnotationElementValueGenback to summary
public AnnotationElementValueGen(final int type, final AnnotationEntryGen annotation, 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
getAnnotationback to summary
public AnnotationEntryGen getAnnotation()
getElementValueback to summary
public ElementValue getElementValue()

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

Return immutable variant of this AnnotationElementValueGen

Annotations
@Override
stringifyValueback to summary
public String stringifyValue()

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

Annotations
@Override