public abstract class ParameterAnnotations extends Attribute
Modifier and Type | Field and Description |
---|---|
private ParameterAnnotationEntry[] |
parameter_annotation_table
Table of parameter annotations
|
constant_pool, length, name_index, tag
Constructor and Description |
---|
ParameterAnnotations(byte parameter_annotation_type,
int name_index,
int length,
java.io.DataInput input,
ConstantPool constant_pool) |
ParameterAnnotations(byte parameter_annotation_type,
int name_index,
int length,
ParameterAnnotationEntry[] parameter_annotation_table,
ConstantPool constant_pool) |
Modifier and Type | Method and 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.
|
Attribute |
copy(ConstantPool constant_pool) |
void |
dump(java.io.DataOutputStream dos)
Dump attribute to file stream in binary format.
|
ParameterAnnotationEntry[] |
getParameterAnnotationEntries()
returns the array of parameter annotation entries in this parameter annotation
|
ParameterAnnotationEntry[] |
getParameterAnnotationTable() |
void |
setParameterAnnotationTable(ParameterAnnotationEntry[] parameter_annotation_table) |
addAttributeReader, addAttributeReader, clone, getConstantPool, getLength, getName, getNameIndex, getTag, readAttribute, readAttribute, removeAttributeReader, setConstantPool, setLength, setNameIndex, toString
private ParameterAnnotationEntry[] parameter_annotation_table
ParameterAnnotations(byte parameter_annotation_type, int name_index, int length, java.io.DataInput input, ConstantPool constant_pool) throws java.io.IOException
parameter_annotation_type
- the subclass type of the parameter annotationname_index
- Index pointing to the name Codelength
- Content length in bytesinput
- Input streamconstant_pool
- Array of constantsjava.io.IOException
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 void dump(java.io.DataOutputStream dos) throws java.io.IOException
Attribute
public Attribute copy(ConstantPool constant_pool)