public class BIPUSH extends VoidOperation
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
Modifier and Type | Field and Description |
---|---|
static int |
OP
OP refers to the operand code
|
BREAKPOINT, IMPDEP1, IMPDEP2, OPCODE_BYTE_LENGTH
Constructor and Description |
---|
BIPUSH(DataInput dataInput)
constructs a new BIPUSH
|
Modifier and Type | Method and Description |
---|---|
void |
execute(OperandStack stack,
Constant[] constantPool,
LocalVariable[] localVariables)
executes the operation
|
int |
getByteLength() |
int |
getOpcode() |
public static final int OP
public BIPUSH(DataInput dataInput) throws IOException
dataInput
- the dataInputIOException
- on IOfailurepublic void execute(OperandStack stack, Constant[] constantPool, LocalVariable[] localVariables)
VoidOperation
execute
in class VoidOperation
stack
- the stack to operate onconstantPool
- the constantpoollocalVariables
- the localvariables#execute(nl.tudelft.simulation.dsol.interpreter.OperandStack,
nl.tudelft.simulation.dsol.interpreter.classfile.Constant[],
nl.tudelft.simulation.dsol.interpreter.LocalVariable[])
public int getByteLength()
getByteLength
in class Operation
Operation.getByteLength()
public int getOpcode()
getOpcode
in class Operation
Operation.getOpcode()
Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.