public class PUTFIELD extends FieldInstruction implements PopInstruction, ExceptionThrower
Stack: ..., objectref, value -> ...OR
Stack: ..., objectref, value.word1, value.word2 -> ...
indexlength, opcode| Constructor and Description |
|---|
PUTFIELD(int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor v)
Call corresponding visitor method(s).
|
int |
consumeStack(ConstantPoolGen cpg)
This method also gives right results for instructions whose effect on the stack depends on the constant pool entry
they reference.
|
Class<?>[] |
getExceptions() |
getFieldName, getFieldSize, getFieldType, getType, toStringgetClassName, getClassType, getLoadClassType, getName, getReferenceType, getSignaturedump, getIndex, initFromFile, setIndex, toStringcopy, equals, getComparator, getLength, getName, getOpcode, hashCode, isValidByte, isValidShort, produceStack, readInstruction, setComparator, toStringpublic PUTFIELD(int index)
public void accept(Visitor v)
accept in class Instructionv - Visitor objectpublic int consumeStack(ConstantPoolGen cpg)
InstructionconsumeStack in interface StackConsumerconsumeStack in class Instructionpublic Class<?>[] getExceptions()
getExceptions in interface ExceptionThrowerCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.