public abstract class InstanceFieldInstruction extends FieldInstruction
Modifier and Type | Field and Description |
---|---|
protected int |
lastThis |
className, fi, fname, ftype, isReferenceField, lastValue, size, varId
attr, insnIndex, mi, position
Modifier | Constructor and Description |
---|---|
protected |
InstanceFieldInstruction(java.lang.String fieldName,
java.lang.String classType,
java.lang.String fieldDescriptor) |
Modifier and Type | Method and Description |
---|---|
ElementInfo |
getElementInfo(ThreadInfo ti)
where do we read from/write to
NOTE - this is a StaticElementInfo in case this is a PUT/GETSTATIC
|
java.lang.String |
getFieldDescriptor() |
FieldInfo |
getFieldInfo() |
ElementInfo |
getLastElementInfo()
since this is based on getLastThis(), the same context restrictions apply
|
int |
getLastThis()
NOTE - the return value is *only* valid in a instructionExecuted() context, since
the same instruction can be executed from different threads
|
abstract int |
getObjectSlot(StackFrame frame) |
java.lang.String |
toPostExecString()
this can contain additional info that was gathered/cached during execution
|
getClassName, getFieldName, getFieldSize, getId, getLastValue, getVariableId, isMonitorEnterPrologue, isRead, isReferenceField, peekElementInfo, setField, toString
addAttr, asInstruction, attrIterator, attrIterator, cleanupTransients, execute, getAttr, getAttr, getFileLocation, getFilePos, getInstructionIndex, getLength, 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, typeSafeClone
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asInstruction, execute, getByteCode, getFileLocation, getFilePos, getInstructionIndex, getLength, getLineNumber, getMethodInfo, getMnemonic, getNext, getNext, getPosition, getPrev, getSourceLine, getSourceLocation, isBackJump, isCompleted, isExtendedInstruction, isFirstInstruction
addAttr, attrIterator, attrIterator, getAttr, getAttr, getNextAttr, hasAttr, hasAttr, removeAttr, replaceAttr, setAttr
protected InstanceFieldInstruction(java.lang.String fieldName, java.lang.String classType, java.lang.String fieldDescriptor)
public abstract int getObjectSlot(StackFrame frame)
public ElementInfo getElementInfo(ThreadInfo ti)
ReadOrWriteInstruction
public java.lang.String toPostExecString()
Instruction
toPostExecString
in interface InstructionInterface
toPostExecString
in class Instruction
public FieldInfo getFieldInfo()
getFieldInfo
in class FieldInstruction
public int getLastThis()
public ElementInfo getLastElementInfo()
getLastElementInfo
in class FieldInstruction
public java.lang.String getFieldDescriptor()