Package jminusminus
Class CLAnnotationDefaultAttribute
java.lang.Object
jminusminus.CLAttributeInfo
jminusminus.CLAnnotationDefaultAttribute
Representation of AnnotationDefault_attribute structure.
-
Field Summary
Modifier and TypeFieldDescriptionAnnotationDefault_attribute.defaultValue item.Fields inherited from class jminusminus.CLAttributeInfo
attributeLength, attributeNameIndex
-
Constructor Summary
ConstructorDescriptionCLAnnotationDefaultAttribute
(int attributeNameIndex, long attributeLength, CLElementValue defaultValue) Construct a CLAnnotationDefaultAttribute object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(CLOutputStream out) Write the contents of this attribute to the specified output stream.
-
Field Details
-
defaultValue
AnnotationDefault_attribute.defaultValue item.
-
-
Constructor Details
-
CLAnnotationDefaultAttribute
public CLAnnotationDefaultAttribute(int attributeNameIndex, long attributeLength, CLElementValue defaultValue) Construct a CLAnnotationDefaultAttribute object.- Parameters:
attributeNameIndex
- AnnotationDefault_attribute.attribute_name_index item.attributeLength
- AnnotationDefault_attribute.attribute_length item.defaultValue
- AnnotationDefault_attribute.defaultValue 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.
-