Package jminusminus
Class CLAnnotationDefaultAttribute
java.lang.Object
jminusminus.CLAttributeInfo
jminusminus.CLAnnotationDefaultAttribute
Representation of AnnotationDefault_attribute structure.
-
Field Summary
FieldsModifier and TypeFieldDescriptionAnnotationDefault_attribute.defaultValue item.Fields inherited from class jminusminus.CLAttributeInfo
attributeLength, attributeNameIndex -
Constructor Summary
ConstructorsConstructorDescriptionCLAnnotationDefaultAttribute(int attributeNameIndex, long attributeLength, CLElementValue defaultValue) Construct a CLAnnotationDefaultAttribute object. -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(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:
writein classCLAttributeInfo- Parameters:
out- output stream.- Throws:
IOException- if an error occurs while writing.
-