public class PUTSTATIC extends FieldInstruction implements ExceptionThrower, PopInstruction
Stack: ..., value -> ...OR
Stack: ..., value.word1, value.word2 -> ...
index
length, opcode
Constructor and Description |
---|
PUTSTATIC()
Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction().
|
PUTSTATIC(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.
|
java.lang.Class[] |
getExceptions() |
getFieldName, getFieldSize, getFieldType, getType, toString
getClassName, getClassType, getLoadClassType, getName, getReferenceType, getSignature
dump, getIndex, initFromFile, setIndex, toString
copy, dispose, equals, getComparator, getLength, getName, getOpcode, produceStack, readInstruction, setComparator, toString
PUTSTATIC()
public PUTSTATIC(int index)
public int consumeStack(ConstantPoolGen cpg)
Instruction
consumeStack
in interface StackConsumer
consumeStack
in class Instruction
public java.lang.Class[] getExceptions()
getExceptions
in interface ExceptionThrower
public void accept(Visitor v)
accept
in class Instruction
v
- Visitor object