|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfr.umlv.corosol.component.instruction.impl.DefaultJOperandInput
public class DefaultJOperandInput
| Constructor Summary | |
|---|---|
DefaultJOperandInput()
|
|
| Method Summary | |
|---|---|
void |
fillInput(byte[] byteCode,
int offset,
int len)
Reads up length bytes in the specified array from the offset index in order to be parsed by this JOperandInput. |
byte |
readByte()
Reads a byte from the byte code stream. |
int |
readInt()
Reads an integer from the byte code stream. |
short |
readShort()
Reads a short integer from the byte code stream. |
int |
readUnsignedByte()
Reads an unsigned byte from the byte code stream. |
int |
skipNullBytes()
Skips the padding bytes following the lookupswitch and tableswitch instruction. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultJOperandInput()
| Method Detail |
|---|
public byte readByte()
throws java.io.IOException
readByte in interface JOperandInputjava.io.IOException - if an I/O error occurs during the reading
of the byte code
public int readUnsignedByte()
throws java.io.IOException
readUnsignedByte in interface JOperandInputjava.io.IOException - if an I/O error occurs during the reading
of the byte code
public short readShort()
throws java.io.IOException
readShort in interface JOperandInputjava.io.IOException - if an I/O error occurs during the reading
of the byte code
public int readInt()
throws java.io.IOException
readInt in interface JOperandInputjava.io.IOException - if an I/O error occurs during the reading
of the byte code
public int skipNullBytes()
throws java.io.IOException
skipNullBytes in interface JOperandInputjava.io.IOException - if an I/O error occurs during the reading
of the byte code
public void fillInput(byte[] byteCode,
int offset,
int len)
JOperandInput
fillInput in interface JOperandInputbyteCode - the buffer which operands are readoffset - the offset from which the operands are readlen - the number of bytes to be read in the
bytecode array
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||