class CLParameterAnnotationInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
ArrayList<CLAnnotation> |
annotations
parameter_annotations_table_entry.annotations item.
|
int |
numAnnotations
parameter_annotations_table_entry.num_annotations item.
|
| Constructor and Description |
|---|
CLParameterAnnotationInfo(int numAnnotations,
ArrayList<CLAnnotation> annotations)
Construct a ParameterAnnotationInfo object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(CLOutputStream out)
Write the contents of this object to the specified output stream.
|
void |
writeToStdOut(PrettyPrinter p)
Write the content of this object to STDOUT in a format similar to that of
javap.
|
public int numAnnotations
public ArrayList<CLAnnotation> annotations
public CLParameterAnnotationInfo(int numAnnotations,
ArrayList<CLAnnotation> annotations)
numAnnotations - parameter_annotations_table_entry.num_annotations item.annotations - parameter_annotations_table_entry.annotations item.public void write(CLOutputStream out) throws IOException
out - output stream.IOException - if an error occurs while writing.public void writeToStdOut(PrettyPrinter p)
p - for pretty printing with indentation.