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

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

Annotations
@Override
getAnnotationEntryback to summary
public AnnotationEntry getAnnotationEntry()
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