|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.rej.java.instruction.Instruction
net.sf.rej.java.instruction._iconst_m1
public class _iconst_m1
Push int constant -1.
| Field Summary | |
|---|---|
static java.lang.String |
MNEMONIC
|
static int |
OPCODE
|
static int |
SIZE
|
| Constructor Summary | |
|---|---|
_iconst_m1()
|
|
| 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 |
getParameterTypes()
Return a Parameters object describing the types of parameters(if any) that are applicable to this type of an instruction. |
java.util.List<StackElement> |
getPushedElements(DecompilationContext dc)
Returns the elements pushed to the stack by this instance. |
int |
getSize()
Return the size of this instruction. |
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. |
| Methods inherited from class net.sf.rej.java.instruction.Instruction |
|---|
createNewInstance, getLabels, getPoppedElements, 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
| Constructor Detail |
|---|
public _iconst_m1()
| 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 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 getParameterTypes()
Instruction
getParameterTypes in class InstructionParameters object with the types of parameters
applicable for this type of an instruction.public Parameters getParameters()
Instruction
getParameters in class InstructionParameters object with the types and current
values of the parameters.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 void setParameters(Parameters params)
Instruction
setParameters in class Instructionparams - A Parameters object with new values for this
instruction.public java.util.List<StackElement> getPushedElements(DecompilationContext dc)
Instruction
getPushedElements in class Instructiondc - the decompilation context so that the processing can access
the constant pool, when necessary.
StackElements instance describing the elements
pushed onto the stack.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||