Package jminusminus
Class CLRuntimeVisibleAnnotationsAttribute
java.lang.Object
jminusminus.CLAttributeInfo
jminusminus.CLRuntimeVisibleAnnotationsAttribute
Representation of RuntimeVisibleAnnotations_attribute structure.
-
Field Summary
Modifier and TypeFieldDescriptionRuntimeVisibleAnnotations_attribute.annotations item.int
RuntimeVisibleAnnotations_attribute.num_annotations item.Fields inherited from class jminusminus.CLAttributeInfo
attributeLength, attributeNameIndex
-
Constructor Summary
ConstructorDescriptionCLRuntimeVisibleAnnotationsAttribute
(int attributeNameIndex, long attributeLength, int numAnnotations, ArrayList<CLAnnotation> annotations) Construct a CLRuntimeVisibleAnnotationsAttribute object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(CLOutputStream out) Write the contents of this attribute to the specified output stream.
-
Field Details
-
numAnnotations
public int numAnnotationsRuntimeVisibleAnnotations_attribute.num_annotations item. -
annotations
RuntimeVisibleAnnotations_attribute.annotations item.
-
-
Constructor Details
-
CLRuntimeVisibleAnnotationsAttribute
public CLRuntimeVisibleAnnotationsAttribute(int attributeNameIndex, long attributeLength, int numAnnotations, ArrayList<CLAnnotation> annotations) Construct a CLRuntimeVisibleAnnotationsAttribute object.- Parameters:
attributeNameIndex
- RuntimeVisibleAnnotations_attribute.attribute_name_index item.attributeLength
- RuntimeVisibleAnnotations_attribute.attribute_length item.numAnnotations
- RuntimeVisibleAnnotations_attribute.num_annotations item.annotations
- RuntimeVisibleAnnotations_attribute.annotations item.
-
-
Method Details
-
write
Write the contents of this attribute to the specified output stream.- Overrides:
write
in classCLAttributeInfo
- Parameters:
out
- output stream.- Throws:
IOException
- if an error occurs while writing.
-