public abstract class InstanceFieldInstruction extends FieldInstruction
| Modifier and Type | Field and Description |
|---|---|
protected int |
lastThis |
className, fi, fname, ftype, isReferenceField, lastValue, size, varIdattr, 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, toStringaddAttr, 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, typeSafeCloneclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasInstruction, execute, getByteCode, getFileLocation, getFilePos, getInstructionIndex, getLength, getLineNumber, getMethodInfo, getMnemonic, getNext, getNext, getPosition, getPrev, getSourceLine, getSourceLocation, isBackJump, isCompleted, isExtendedInstruction, isFirstInstructionaddAttr, attrIterator, attrIterator, getAttr, getAttr, getNextAttr, hasAttr, hasAttr, removeAttr, replaceAttr, setAttrprotected InstanceFieldInstruction(java.lang.String fieldName,
java.lang.String classType,
java.lang.String fieldDescriptor)
public abstract int getObjectSlot(StackFrame frame)
public ElementInfo getElementInfo(ThreadInfo ti)
ReadOrWriteInstructionpublic java.lang.String toPostExecString()
InstructiontoPostExecString in interface InstructionInterfacetoPostExecString in class Instructionpublic FieldInfo getFieldInfo()
getFieldInfo in class FieldInstructionpublic int getLastThis()
public ElementInfo getLastElementInfo()
getLastElementInfo in class FieldInstructionpublic java.lang.String getFieldDescriptor()