Package jminusminus
Class CLRuntimeVisibleAnnotationsAttribute
java.lang.Object
jminusminus.CLAttributeInfo
jminusminus.CLRuntimeVisibleAnnotationsAttribute
Representation of RuntimeVisibleAnnotations_attribute structure.
-
Field Summary
FieldsModifier and TypeFieldDescriptionRuntimeVisibleAnnotations_attribute.annotations item.intRuntimeVisibleAnnotations_attribute.num_annotations item.Fields inherited from class jminusminus.CLAttributeInfo
attributeLength, attributeNameIndex -
Constructor Summary
ConstructorsConstructorDescriptionCLRuntimeVisibleAnnotationsAttribute(int attributeNameIndex, long attributeLength, int numAnnotations, ArrayList<CLAnnotation> annotations) Construct a CLRuntimeVisibleAnnotationsAttribute object. -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(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:
writein classCLAttributeInfo- Parameters:
out- output stream.- Throws:
IOException- if an error occurs while writing.
-