class CLSyntheticAttribute extends CLAttributeInfo
attributeLength, attributeNameIndex
Constructor and Description |
---|
CLSyntheticAttribute(int attributeNameIndex,
long attributeLength)
Construct a CLSyntheticAttribute 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 CLSyntheticAttribute(int attributeNameIndex, long attributeLength)
attributeNameIndex
- Synthetic_attribute.attribute_name_index item.attributeLength
- Synthetic_attribute.attribute_length 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.