public class IFNONNULL extends JumpOperation
(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 |
|---|
IFNONNULL(DataInput dataInput)
constructs a new IFNONNULL
|
| Modifier and Type | Method and Description |
|---|---|
int |
execute(OperandStack stack,
Constant[] constantPool,
LocalVariable[] localVariables)
executes the operation
|
int |
getByteLength() |
int |
getOpcode() |
public static final int OP
public IFNONNULL(DataInput dataInput) throws IOException
dataInput - the dataInputIOException - on IOfailurepublic int execute(OperandStack stack, Constant[] constantPool, LocalVariable[] localVariables)
JumpOperationexecute in class JumpOperationstack - 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 OperationOperation.getByteLength()public int getOpcode()
getOpcode in class OperationOperation.getOpcode()Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.