public class PUTSTATIC extends StaticFieldInstruction implements StoreInstruction
className, fi, fname, isReferenceField, lastValue, size, varId
attr, insnIndex, mi, position
Constructor and Description |
---|
PUTSTATIC() |
PUTSTATIC(String fieldName,
String clsDescriptor,
String fieldDescriptor) |
Modifier and Type | Method and Description |
---|---|
void |
accept(InstructionVisitor 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 |
getLength()
return the length in bytes of this instruction.
|
boolean |
isRead() |
protected void |
popOperands1(StackFrame frame) |
protected void |
popOperands2(StackFrame frame) |
getClassInfo, getFieldInfo, getLastClassInfo, getLastClassName, getLastElementInfo, initialize, isNewPorFieldBoundary, isSchedulingRelevant, isSkippedFinalField, peekElementInfo, typeSafeClone
createAndSetSharedFieldAccessCG, createAndSetSharedObjectExposureCG, getClassName, getFieldName, getFieldSize, getId, getLastValue, getVariableId, init, isLockProtected, isMonitorEnterPrologue, isReferenceField, put, put1, put2, setField
addAttr, 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, isSchedulingRelevant, removeAttr, replaceAttr, requiresClinitExecution, setAttr, setContext, setLocation, setMethodInfo, toString
protected void popOperands1(StackFrame frame)
popOperands1
in class FieldInstruction
protected void popOperands2(StackFrame frame)
popOperands2
in class FieldInstruction
public Instruction execute(ThreadInfo ti)
Instruction
execute
in class Instruction
public int getLength()
Instruction
getLength
in class Instruction
public int getByteCode()
getByteCode
in class Instruction
public boolean isRead()
isRead
in class FieldInstruction
public void accept(InstructionVisitor insVisitor)
accept
in interface InstructionVisitorAcceptor
accept
in class StaticFieldInstruction