org.apache.bcel.classfile
public class AnnotationEntry extends Object implements Node, Constants
Since: 5.3
Version: $Id: AnnotationEntry
| Constructor Summary | |
|---|---|
| AnnotationEntry(int type_index, ConstantPool constant_pool, boolean isRuntimeVisible)
Construct object from file stream. | |
| Method Summary | |
|---|---|
| void | accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitely
defined by the contents of a Java class. |
| void | addElementNameValuePair(ElementValuePair elementNameValuePair) |
| void | dump(DataOutputStream dos) |
| String | getAnnotationType() |
| int | getAnnotationTypeIndex() |
| ElementValuePair[] | getElementValuePairs() |
| int | getNumElementValuePairs() |
| boolean | isRuntimeVisible() |
| static AnnotationEntry | read(DataInputStream file, ConstantPool constant_pool, boolean isRuntimeVisible) |
| String | toShortString() |
Parameters: file Input stream
Throws: IOException
Parameters: v Visitor object
Returns: the annotation type name
Returns: the annotation type index
Returns: the element value pairs in this annotation entry
Returns: the number of element value pairs in this annotation entry