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

public Class AnnotationElementValueGen

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

Since
6.0

Field Summary

Modifier and TypeField and Description
private final AnnotationEntryGen
a

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

Return immutable variant of this AnnotationElementValueGen

public String
Inherited from com.sun.org.apache.bcel.internal.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 com.sun.org.apache.bcel.internal.generic.ElementValueGen.dump.

Annotations
@Override
getAnnotationback to summary
public AnnotationEntryGen getAnnotation()
getElementValueback to summary
public ElementValue getElementValue()

Implements abstract com.sun.org.apache.bcel.internal.generic.ElementValueGen.getElementValue.

Return immutable variant of this AnnotationElementValueGen

Annotations
@Override
stringifyValueback to summary
public String stringifyValue()

Implements abstract com.sun.org.apache.bcel.internal.generic.ElementValueGen.stringifyValue.

Annotations
@Override