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