class CLSourceDebugExtensionAttribute extends CLAttributeInfo
Modifier and Type | Field and Description |
---|---|
byte[] |
debugExtension
SoureDebugExtension.debug_extension item.
|
attributeLength, attributeNameIndex
Constructor and Description |
---|
CLSourceDebugExtensionAttribute(int attributeNameIndex,
long attributeLength,
byte[] debugExtension)
Construct a CLSourceDebugExtensionAttribute object.
|
Modifier and Type | Method and Description |
---|---|
void |
write(CLOutputStream out)
Write the contents of this attribute to the specified output stream.
|
void |
writeToStdOut(PrettyPrinter p)
Write the contents of this attribute to STDOUT in a format similar to
that of javap.
|
public CLSourceDebugExtensionAttribute(int attributeNameIndex, long attributeLength, byte[] debugExtension)
attributeNameIndex
- SourceDebugExtension_attribute.attribute_name_index item.attributeLength
- SourceDebugExtension_attribute.attribute_length item.debugExtension
- SourceDebugExtension_attribute.debug_extension item.public void write(CLOutputStream out) throws IOException
CLAttributeInfo
write
in class CLAttributeInfo
out
- output stream.IOException
- if an error occurs while writing.public void writeToStdOut(PrettyPrinter p)
CLAttributeInfo
writeToStdOut
in class CLAttributeInfo
p
- for pretty printing with indentation.