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