public class GETFIELD extends FieldInstruction implements ExceptionThrower, StackConsumer, StackProducer
Stack: ..., objectref -> ..., valueOR
Stack: ..., objectref -> ..., value.word1, value.word2
indexlength, opcode| Constructor and Description |
|---|
GETFIELD(int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor v)
Call corresponding visitor method(s).
|
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.
|
getFieldName, getFieldSize, getFieldType, getType, toStringgetClassName, getClassType, getLoadClassType, getName, getSignaturedump, getIndex, initFromFile, setIndex, toStringconsumeStack, 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 Class[] getExceptions()
getExceptions in interface ExceptionThrowerpublic void accept(Visitor v)
accept in class Instructionv - Visitor objectCopyright © 2018–2021 mhoffrogge. All rights reserved.