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