All Packages Class Hierarchy This Package Previous Next Index
Class espresso.classfile.classgen.PUSH
java.lang.Object
|
+----espresso.classfile.classgen.PUSH
- public final class PUSH
- extends Object
- implements CompoundInstruction, VariableLengthInstruction
Wrapper class for push operations, which are implemented either as BIPUSH,
LDC or xCONST_n instructions.
-
instruction
-
-
PUSH(ConstantPoolGen, double)
-
-
PUSH(ConstantPoolGen, float)
-
-
PUSH(ConstantPoolGen, int)
- This constructor also applies for values of type short, char, byte (and boolean).
-
PUSH(ConstantPoolGen, long)
-
-
PUSH(ConstantPoolGen, String)
-
-
getInstruction()
-
-
getInstructionList()
-
-
toString()
-
instruction
private Instruction instruction
PUSH
public PUSH(ConstantPoolGen cp,
int value)
- This constructor also applies for values of type short, char, byte (and boolean).
- Parameters:
- cp - Constant pool
- value - to be pushed
PUSH
public PUSH(ConstantPoolGen cp,
float value)
- Parameters:
- cp - Constant pool
- value - to be pushed
PUSH
public PUSH(ConstantPoolGen cp,
long value)
- Parameters:
- cp - Constant pool
- value - to be pushed
PUSH
public PUSH(ConstantPoolGen cp,
double value)
- Parameters:
- cp - Constant pool
- value - to be pushed
PUSH
public PUSH(ConstantPoolGen cp,
String value)
- Parameters:
- cp - Constant pool
- value - to be pushed
getInstructionList
public final InstructionList getInstructionList()
getInstruction
public final Instruction getInstruction()
toString
public String toString()
- Returns:
- mnemonic for instruction
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index