|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--javar.attributes.Attribute
This class represents an attribute of the code attribute which is an attribute of the code attribute
| Field Summary | |
protected long |
nameIndex
|
protected ConstantPool |
pool
|
| Constructor Summary | |
Attribute(ConstantPool p,
long n)
Constructor |
|
| Method Summary | |
String |
getName()
This will get the name of this attribute. |
abstract void |
load(DataInputStream in)
This will load in the data for the attribute |
abstract byte[] |
toBytes()
This will take this attribute and convert it into an array of bytes that can be stored in a classfile. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected long nameIndex
protected ConstantPool pool
| Constructor Detail |
public Attribute(ConstantPool p,
long n)
| Method Detail |
public abstract void load(DataInputStream in)
public abstract byte[] toBytes()
public String toString()
toString in class Objectpublic String getName()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||