Top Fields Constructors Methods
org.apache.bcel.classfile

public Class AnnotationElementValue

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

Since
6.0

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
AnnotationElementValue(final int type, final AnnotationEntry annotationEntry, final ConstantPool cpool)

Method Summary

Modifier and TypeMethod and Description
public void
public AnnotationEntry
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

annotationEntryback to summary
private final AnnotationEntry annotationEntry

Constructor Detail

AnnotationElementValueback to summary
public AnnotationElementValue(final int type, final AnnotationEntry annotationEntry, 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
getAnnotationEntryback to summary
public AnnotationEntry getAnnotationEntry()
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