Node
RuntimeInvisibleParameterAnnotations
, RuntimeVisibleParameterAnnotations
public abstract class ParameterAnnotations extends Attribute
constant_pool, length, name_index, tag
Constructor | Description |
---|---|
ParameterAnnotations(byte parameter_annotation_type,
int name_index,
int length,
ParameterAnnotationEntry[] parameter_annotation_table,
ConstantPool constant_pool) |
Modifier and Type | Method | Description |
---|---|---|
void |
accept(Visitor v) |
Called by objects that are traversing the nodes of the tree implicitely
defined by the contents of a Java class.
|
int |
getNumParameterAnnotation() |
|
ParameterAnnotationEntry[] |
getParameterAnnotationEntries() |
returns the array of parameter annotation entries in this parameter annotation
|
ParameterAnnotationEntry[] |
getParameterAnnotationTable() |
|
void |
setParameterAnnotationTable(ParameterAnnotationEntry[] parameter_annotation_table) |
addAttributeReader, clone, copy, dump, getConstantPool, getLength, getName, getNameIndex, getTag, readAttribute, removeAttributeReader, setConstantPool, setLength, setNameIndex, toString
public ParameterAnnotations(byte parameter_annotation_type, int name_index, int length, ParameterAnnotationEntry[] parameter_annotation_table, ConstantPool constant_pool)
parameter_annotation_type
- the subclass type of the parameter annotationname_index
- Index pointing to the name Codelength
- Content length in bytesparameter_annotation_table
- the actual parameter annotationsconstant_pool
- Array of constantspublic void accept(Visitor v)
public final void setParameterAnnotationTable(ParameterAnnotationEntry[] parameter_annotation_table)
parameter_annotation_table
- the entries to set in this parameter annotationpublic final ParameterAnnotationEntry[] getParameterAnnotationTable()
public ParameterAnnotationEntry[] getParameterAnnotationEntries()
public final int getNumParameterAnnotation()