public final class Unknown extends Attribute
Attribute
,
Serialized FormConstructor and Description |
---|
Unknown(int name_index,
int length,
byte[] bytes,
ConstantPool constant_pool)
Create a non-standard attribute.
|
Unknown(Unknown c)
Initialize from another object.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(ClassVisitor v)
Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class.
|
void |
dump(java.io.DataOutputStream file)
Dump unknown bytes to file stream.
|
byte[] |
getBytes() |
java.lang.String |
getName() |
void |
setBytes(byte[] bytes) |
java.lang.String |
toString() |
getConstantPool, getLength, getNameIndex, getTag, readAttribute
public Unknown(Unknown c)
public Unknown(int name_index, int length, byte[] bytes, ConstantPool constant_pool)
name_index
- Index in constant poollength
- Content length in bytesbytes
- Attribute contentsconstant_pool
- Array of constantspublic void accept(ClassVisitor v)
public final void dump(java.io.DataOutputStream file) throws java.io.IOException
public final byte[] getBytes()
public java.lang.String getName()
public final void setBytes(byte[] bytes)
bytes.
-