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

public Class Annotations

extends Object
Class Inheritance
Imports
java.io.DataInput, .IOException

base class for annotations

Field Summary

Modifier and TypeField and Description
private final AnnotationEntry[]
pack-priv static final Annotations[]

Constructor Summary

AccessConstructor and Description
pack-priv
Annotations(final DataInput
Input stream
input
,
final ConstantPool
Array of constants
constantPool
)

Method Summary

Modifier and TypeMethod and Description
public AnnotationEntry[]

Returns:

the array of annotation entries in this annotation
getAnnotationEntries
()

Gets the array of annotation entries in this annotation

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

annotationTableback to summary
private final AnnotationEntry[] annotationTable
EMPTY_ARRAYback to summary
pack-priv static final Annotations[] EMPTY_ARRAY

Constructor Detail

Annotationsback to summary
pack-priv Annotations(final DataInput input, final ConstantPool constantPool) throws IOException
Parameters
input:DataInput

Input stream

constantPool:ConstantPool

Array of constants

Method Detail

getAnnotationEntriesback to summary
public AnnotationEntry[] getAnnotationEntries()

Gets the array of annotation entries in this annotation

Returns:AnnotationEntry[]

the array of annotation entries in this annotation