Package jminusminus
Class CLLineNumberTableAttribute
java.lang.Object
jminusminus.CLAttributeInfo
jminusminus.CLLineNumberTableAttribute
Representation of LineNumberTable_attribute structure.
-
Field Summary
Modifier and TypeFieldDescriptionLineNumberTable_attribute.line_number_table item.int
LineNumberTable_attribute.line_number_table_length item.Fields inherited from class jminusminus.CLAttributeInfo
attributeLength, attributeNameIndex
-
Constructor Summary
ConstructorDescriptionCLLineNumberTableAttribute
(int attributeNameIndex, long attributeLength, int lineNumberTableLength, ArrayList<CLLineNumberInfo> lineNumberTable) Construct a CLLineNumberTableAttribute object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(CLOutputStream out) Write the contents of this attribute to the specified output stream.
-
Field Details
-
lineNumberTableLength
public int lineNumberTableLengthLineNumberTable_attribute.line_number_table_length item. -
lineNumberTable
LineNumberTable_attribute.line_number_table item.
-
-
Constructor Details
-
CLLineNumberTableAttribute
public CLLineNumberTableAttribute(int attributeNameIndex, long attributeLength, int lineNumberTableLength, ArrayList<CLLineNumberInfo> lineNumberTable) Construct a CLLineNumberTableAttribute object.- Parameters:
attributeNameIndex
- LineNumberTable_attribute.attribute_name_index item.attributeLength
- LineNumberTable_attribute.attribute_length item.lineNumberTableLength
- LineNumberTable_attribute.line_number_table_length item.lineNumberTable
- LineNumberTable_attribute.line_number_table 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.
-