harpoon.IR.RawClass
Class AttributeUnknown
java.lang.Object
harpoon.IR.RawClass.Attribute
harpoon.IR.RawClass.AttributeUnknown
public class AttributeUnknown
- extends Attribute
An attribute of unknown format.
- Version:
- $Id: AttributeUnknown.java,v 1.2 2002/02/25 21:05:26 cananian Exp $
- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>
- See Also:
- "The Java Virtual Machine Specification, section 4.7",
Attribute
Field Summary |
byte[] |
info
Generic attribute information of unknown type. |
Method Summary |
long |
attribute_length()
The value of the attribute_length item indicates
the length of the attribute, excluding the initial six bytes. |
void |
write(ClassDataOutputStream out)
Write to bytecode stream. |
info
public byte[] info
- Generic attribute information of unknown type.
AttributeUnknown
public AttributeUnknown(ClassFile parent,
int attribute_name_index,
byte[] info)
- Constructor.
attribute_length
public long attribute_length()
- Description copied from class:
Attribute
- The value of the
attribute_length
item indicates
the length of the attribute, excluding the initial six bytes.
- Specified by:
attribute_length
in class Attribute
write
public void write(ClassDataOutputStream out)
throws IOException
- Write to bytecode stream.
- Specified by:
write
in class Attribute
- Throws:
IOException