public class IINC extends Instruction implements JVMInstruction
| Modifier and Type | Field and Description |
|---|---|
protected int |
increment |
protected int |
index |
attr, insnIndex, mi, position| Constructor and Description |
|---|
IINC(int localVarIndex,
int increment) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(JVMInstructionVisitor insVisitor) |
Instruction |
execute(ThreadInfo ti)
this is the real workhorse
returns next instruction to enter in this thread
<2do> it's unfortunate we roll every side effect into this method, because
it diminishes the value of the 'executeInstruction' notification: all
insns that require some sort of late binding (InvokeVirtual, GetField, ..)
are not yet fully analyzable (e.g.
|
int |
getByteCode() |
int |
getIncrement() |
int |
getIndex() |
int |
getLength()
return the length in bytes of this instruction.
|
java.lang.String |
toPostExecString()
this can contain additional info that was gathered/cached during execution
|
addAttr, asInstruction, attrIterator, attrIterator, cleanupTransients, getAttr, getAttr, getFileLocation, getFilePos, getInstructionIndex, getLineNumber, getMethodInfo, getMnemonic, getNext, getNext, getNextAttr, getPosition, getPrev, getSourceLine, getSourceLocation, getSourceOrLocation, hasAttr, hasAttr, init, isBackJump, isCompleted, isExtendedInstruction, isFirstInstruction, isMonitorEnterPrologue, isSchedulingRelevant, removeAttr, replaceAttr, requiresClinitExecution, setAttr, setContext, setLocation, setMethodInfo, toString, typeSafeCloneclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasInstruction, getFileLocation, getFilePos, getInstructionIndex, getLineNumber, getMethodInfo, getMnemonic, getNext, getNext, getPosition, getPrev, getSourceLine, getSourceLocation, isBackJump, isCompleted, isExtendedInstruction, isFirstInstructionaddAttr, attrIterator, attrIterator, getAttr, getAttr, getNextAttr, hasAttr, hasAttr, removeAttr, replaceAttr, setAttrpublic Instruction execute(ThreadInfo ti)
Instructionexecute in interface InstructionInterfaceexecute in class Instructionpublic int getLength()
InstructiongetLength in interface InstructionInterfacegetLength in class Instructionpublic int getByteCode()
getByteCode in interface InstructionInterfacepublic void accept(JVMInstructionVisitor insVisitor)
accept in interface JVMInstructionpublic int getIndex()
public int getIncrement()
public java.lang.String toPostExecString()
InstructiontoPostExecString in interface InstructionInterfacetoPostExecString in class Instruction