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