public class GETFIELD extends FieldInstruction implements ExceptionThrower, StackConsumer, StackProducer
Stack: ..., objectref -> ..., valueOR
Stack: ..., objectref -> ..., value.word1, value.word2
index
length, 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, toString
getClassName, getClassType, getLoadClassType, getName, getReferenceType, getSignature
dump, getIndex, initFromFile, setIndex, toString
consumeStack, copy, equals, getComparator, getLength, getName, getOpcode, hashCode, isValidByte, isValidShort, readInstruction, setComparator, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
consumeStack
public GETFIELD(int index)
public int produceStack(ConstantPoolGen cpg)
Instruction
produceStack
in interface StackProducer
produceStack
in class Instruction
public Class<?>[] getExceptions()
getExceptions
in interface ExceptionThrower
public void accept(Visitor v)
accept
in class Instruction
v
- Visitor objectCopyright © 2004–2019 The Apache Software Foundation. All rights reserved.