Top Description Fields Constructors Methods
org.apache.tomcat.util.bcel.classfile

public Class AnnotationEntry

extends Object
Class Inheritance
Imports
java.io.DataInput, .IOException, java.util.ArrayList, .List

Represents one annotation in the annotation table

Field Summary

Modifier and TypeField and Description
private final ConstantPool
private final List<ElementValuePair>
pack-priv static final AnnotationEntry[]
private final int

Constructor Summary

AccessConstructor and Description
pack-priv
AnnotationEntry(final DataInput input, final ConstantPool constantPool)

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the annotation type name
getAnnotationType
()

public List<ElementValuePair>

Returns:

the element value pairs in this annotation entry
getElementValuePairs
()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

constantPoolback to summary
private final ConstantPool constantPool
elementValuePairsback to summary
private final List<ElementValuePair> elementValuePairs
EMPTY_ARRAYback to summary
pack-priv static final AnnotationEntry[] EMPTY_ARRAY
typeIndexback to summary
private final int typeIndex

Constructor Detail

AnnotationEntryback to summary
pack-priv AnnotationEntry(final DataInput input, final ConstantPool constantPool) throws IOException

Method Detail

getAnnotationTypeback to summary
public String getAnnotationType()
Returns:String

the annotation type name

getElementValuePairsback to summary
public List<ElementValuePair> getElementValuePairs()
Returns:List<ElementValuePair>

the element value pairs in this annotation entry