public class ICONST extends Instruction implements ConstantPushInstruction
Stack: ... -> ...,
Modifier and Type | Field and Description |
---|---|
private int |
value |
length, opcode
Constructor and Description |
---|
ICONST()
Empty constructor needed for Instruction.readInstruction.
|
ICONST(int i) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor v)
Call corresponding visitor method(s).
|
Type |
getType(ConstantPoolGen cp) |
java.lang.Number |
getValue() |
consumeStack, copy, dispose, dump, equals, getComparator, getLength, getName, getOpcode, hashCode, initFromFile, isValidByte, isValidShort, produceStack, readInstruction, setComparator, setLength, setOpcode, toString, toString, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
produceStack
ICONST()
public ICONST(int i)
public java.lang.Number getValue()
getValue
in interface ConstantPushInstruction
public Type getType(ConstantPoolGen cp)
getType
in interface TypedInstruction
public void accept(Visitor v)
accept
in class Instruction
v
- Visitor object