public abstract class ParameterAnnotations extends Attribute
constant_pool, length, name_index, tag| Constructor and Description |
|---|
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(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, toStringpublic 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(DataOutputStream dos) throws IOException
Attributedump in class Attributedos - Output file streamIOExceptionpublic Attribute copy(ConstantPool constant_pool)
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.