|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.rej.java.instruction.Instruction net.sf.rej.java.instruction._isub
public class _isub
Subtract int.
Field Summary | |
---|---|
static java.lang.String |
MNEMONIC
|
static int |
OPCODE
|
Constructor Summary | |
---|---|
_isub()
|
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> |
getPoppedElements(DecompilationContext dc)
Returns the elements popped from the stack by this instance. |
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, 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
Constructor Detail |
---|
public _isub()
Method Detail |
---|
public int getOpcode()
Instruction
getOpcode
in class Instruction
public java.lang.String getMnemonic()
Instruction
getMnemonic
in class Instruction
public int getSize()
Instruction
getSize
in class Instruction
public void execute(ExecutionContext ec)
Instruction
execute
in class Instruction
ec
- Context for execution.public byte[] getData(DecompilationContext dc)
Instruction
getData
in class Instruction
dc
- A callback mechanism to offer the instruction information
about the context where it's located.
public Parameters getParameterTypes()
Instruction
getParameterTypes
in class Instruction
Parameters
object with the types of parameters
applicable for this type of an instruction.public Parameters getParameters()
Instruction
getParameters
in class Instruction
Parameters
object with the types and current
values of the parameters.public void setData(byte[] data, DecompilationContext dc)
Instruction
setData
in class Instruction
data
- 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 Instruction
params
- A Parameters
object with new values for this
instruction.public java.util.List<StackElement> getPoppedElements(DecompilationContext dc)
Instruction
getPoppedElements
in class Instruction
dc
- the decompilation context so that the processing can access
the constant pool, when necessary.
StackElements
instance describing the elements
popped from the stack.public java.util.List<StackElement> getPushedElements(DecompilationContext dc)
Instruction
getPushedElements
in class Instruction
dc
- 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 | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |