Package org.apache.bcel.classfile
Class ParameterAnnotationEntry
- java.lang.Object
-
- org.apache.bcel.classfile.ParameterAnnotationEntry
-
-
Field Summary
Fields Modifier and Type Field Description private AnnotationEntry[]
annotationTable
(package private) static ParameterAnnotationEntry[]
EMPTY_ARRAY
-
Constructor Summary
Constructors Constructor Description ParameterAnnotationEntry(java.io.DataInput input, ConstantPool constantPool)
Constructs object from input stream.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class.static ParameterAnnotationEntry[]
createParameterAnnotationEntries(Attribute[] attrs)
void
dump(java.io.DataOutputStream dos)
AnnotationEntry[]
getAnnotationEntries()
returns the array of annotation entries in this annotation
-
-
-
Field Detail
-
EMPTY_ARRAY
static final ParameterAnnotationEntry[] EMPTY_ARRAY
-
annotationTable
private final AnnotationEntry[] annotationTable
-
-
Constructor Detail
-
ParameterAnnotationEntry
ParameterAnnotationEntry(java.io.DataInput input, ConstantPool constantPool) throws java.io.IOException
Constructs object from input stream.- Parameters:
input
- Input stream- Throws:
java.io.IOException
- if an I/O error occurs.
-
-
Method Detail
-
createParameterAnnotationEntries
public static ParameterAnnotationEntry[] createParameterAnnotationEntries(Attribute[] attrs)
-
accept
public void accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.
-
dump
public void dump(java.io.DataOutputStream dos) throws java.io.IOException
- Throws:
java.io.IOException
-
getAnnotationEntries
public AnnotationEntry[] getAnnotationEntries()
returns the array of annotation entries in this annotation
-
-