|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--javar.attributes.CodeHandler
This is a handler for the code attribute
| Constructor Summary | |
CodeHandler(ConstantPool p)
Constructor |
|
| Method Summary | |
long |
getEndAddress()
This will get the ending address of this handler. |
long |
getStartAddress()
This will get the starting address of this handler. |
long |
getStartHandler()
This will get the starting address of the catch block |
void |
load(DataInputStream in)
This will load in the data for the handler |
void |
setEndAddress(long e)
This will set the ending address of this handler |
void |
setStartAddress(long s)
This will set the starting address of this handler |
void |
setStartHandler(long s)
This will set the starting address of the catch block |
byte[] |
toBytes()
This will take this attribute and convert it into an array of bytes that can be stored in a classfile. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CodeHandler(ConstantPool p)
| Method Detail |
public long getStartAddress()
public void setStartAddress(long s)
s - The new starting address of the handlerpublic long getStartHandler()
public void setStartHandler(long s)
s - The new starting address of the handlerpublic long getEndAddress()
public void setEndAddress(long e)
e - The new ending address of the handlerpublic byte[] toBytes()
public void load(DataInputStream in)
in - the stream to read the data from
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||