public class ICONST extends Instruction implements ConstantPushInstruction
Stack: ... -> ...,
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
private int |
value |
length, opcode| Constructor and Description |
|---|
ICONST()
Empty constructor needed for the Class.newInstance() statement in
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, produceStack, readInstruction, setComparator, toString, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitproduceStackprivate static final long serialVersionUID
private int value
ICONST()
public ICONST(int i)
public java.lang.Number getValue()
getValue in interface ConstantPushInstructionpublic Type getType(ConstantPoolGen cp)
getType in interface TypedInstructionpublic void accept(Visitor v)
accept in class Instructionv - Visitor object