java.io.Serializable, java.lang.Cloneable, ExceptionThrower, IndexedInstruction, LoadClass, StackConsumer, StackProducer, TypedInstructionpublic class GETFIELD extends FieldInstruction implements ExceptionThrower, StackConsumer, StackProducer
Stack: ..., objectref -> ..., valueOR
Stack: ..., objectref -> ..., value.word1, value.word2
indexlength, opcode| Constructor | Description |
|---|---|
GETFIELD(int index) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(Visitor v) |
Call corresponding visitor method(s).
|
java.lang.Class[] |
getExceptions() |
|
int |
produceStack(ConstantPoolGen cpg) |
This method also gives right results for instructions whose
effect on the stack depends on the constant pool entry they
reference.
|
dump, getIndex, initFromFile, setIndex, toStringgetFieldName, getFieldSize, getFieldType, getType, toStringgetClassName, getClassType, getLoadClassType, getName, getReferenceType, getSignatureconsumeStack, copy, equals, getComparator, getLength, getName, getOpcode, readInstruction, setComparator, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitconsumeStackpublic int produceStack(ConstantPoolGen cpg)
InstructionproduceStack in interface StackProducerproduceStack in class Instructionpublic java.lang.Class[] getExceptions()
getExceptions in interface ExceptionThrowerpublic void accept(Visitor v)
accept in class Instructionv - Visitor object