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