|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.rej.java.instruction.Instruction
net.sf.rej.java.instruction._ret
public class _ret
Return from subroutine.
| Field Summary | |
|---|---|
static java.lang.String |
MNEMONIC
|
static int |
OPCODE
|
static int |
SIZE
|
static int |
WIDE_SIZE
|
| Constructor Summary | |
|---|---|
_ret()
|
|
| Method Summary | |
|---|---|
void |
execute(ExecutionContext ec)
Reserved for possible future use. |
byte[] |
getData(DecompilationContext dc)
Get the bytecode data for this instruction. |
java.lang.String |
getMnemonic()
Return the mnemonic of this instruction. |
int |
getOpcode()
Return the Opcode of this instruction. |
Parameters |
getParameters()
Return a Parameters object describing the types of parameters(if any) and the values set to this particular instance for those parameters. |
Parameters |
getParametersWide()
|
Parameters |
getParameterTypes()
Return a Parameters object describing the types of parameters(if any) that are applicable to this type of an instruction. |
Parameters |
getParameterTypesWide()
|
int |
getSize()
Return the size of this instruction. |
byte[] |
getWideData(DecompilationContext dc)
|
int |
getWideSize(DecompilationContext dc)
|
void |
setData(byte[] data,
DecompilationContext dc)
Set the data for this instruction. |
void |
setParameters(Parameters params)
Update the parameter values of this instruction with the values in the Parameters object defined by params. |
void |
setParametersWide(Parameters params)
|
void |
setWideData(byte[] data,
DecompilationContext dc)
|
| Methods inherited from class net.sf.rej.java.instruction.Instruction |
|---|
createNewInstance, getLabels, getPoppedElements, getPushedElements, getSize, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int OPCODE
public static final java.lang.String MNEMONIC
public static final int SIZE
public static final int WIDE_SIZE
| Constructor Detail |
|---|
public _ret()
| Method Detail |
|---|
public int getOpcode()
Instruction
getOpcode in class Instructionpublic java.lang.String getMnemonic()
Instruction
getMnemonic in class Instructionpublic int getSize()
Instruction
getSize in class Instructionpublic void execute(ExecutionContext ec)
Instruction
execute in class Instructionec - Context for execution.
public void setData(byte[] data,
DecompilationContext dc)
Instruction
setData in class Instructiondata - A byte arrray with the instruction data, starting with the
opcode byte(s) and followed by any parameters if applicable.dc - A callback mechanism to offer the instruction information
about the context where it's located.public byte[] getData(DecompilationContext dc)
Instruction
getData in class Instructiondc - A callback mechanism to offer the instruction information
about the context where it's located.
public Parameters getParameters()
Instruction
getParameters in class InstructionParameters object with the types and current
values of the parameters.public Parameters getParametersWide()
getParametersWide in interface Widenablepublic Parameters getParameterTypes()
Instruction
getParameterTypes in class InstructionParameters object with the types of parameters
applicable for this type of an instruction.public Parameters getParameterTypesWide()
getParameterTypesWide in interface Widenablepublic void setParameters(Parameters params)
Instruction
setParameters in class Instructionparams - A Parameters object with new values for this
instruction.public int getWideSize(DecompilationContext dc)
getWideSize in interface Widenable
public void setWideData(byte[] data,
DecompilationContext dc)
setWideData in interface Widenablepublic byte[] getWideData(DecompilationContext dc)
getWideData in interface Widenablepublic void setParametersWide(Parameters params)
setParametersWide in interface Widenable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||