Package org.apache.bcel.classfile
Class ParameterAnnotationEntry
- java.lang.Object
-
- org.apache.bcel.classfile.ParameterAnnotationEntry
-
- All Implemented Interfaces:
Node
public class ParameterAnnotationEntry extends java.lang.Object implements Node
represents one parameter annotation in the parameter annotation table- Since:
- 6.0
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(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[] attributes)Creates parameter annotation entries from attributes.voiddump(java.io.DataOutputStream dos)Dumps parameter annotation entry to file stream.AnnotationEntry[]getAnnotationEntries()Gets the annotation entries.
-
-
-
Method Detail
-
createParameterAnnotationEntries
public static ParameterAnnotationEntry[] createParameterAnnotationEntries(Attribute[] attributes)
Creates parameter annotation entries from attributes.- Parameters:
attributes- The attributes.- Returns:
- The parameter annotation entries.
-
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
Dumps parameter annotation entry to file stream.- Parameters:
dos- Output file stream.- Throws:
java.io.IOException- Thrown if an I/O error occurs.
-
getAnnotationEntries
public AnnotationEntry[] getAnnotationEntries()
Gets the annotation entries.- Returns:
- The array of annotation entries in this annotation.
-
-