nl.tudelft.simulation.dsol.interpreter.operations
Class JumpOperation
java.lang.Object
nl.tudelft.simulation.dsol.interpreter.Operation
nl.tudelft.simulation.dsol.interpreter.operations.JumpOperation
- Direct Known Subclasses:
- GOTO, GOTOW, IF_ACMPEQ, IF_ACMPNE, IF_ICMPEQ, IF_ICMPGE, IF_ICMPGT, IF_ICMPLE, IF_ICMPLT, IF_ICMPNE, IFEQ, IFGE, IFGT, IFLE, IFLT, IFNE, IFNONNULL, IFNULL, JSR, JSR_W, LOOKUPSWITCH, RET, TABLESWITCH
public abstract class JumpOperation
- extends Operation
The JumpOperation is an abstract class for all operations which return an
offset value to jump to a bytecode statement.
(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.
- Since:
- 1.4
- Version:
- $Revision: 1.1 $ $Date: 2007/01/06 13:25:06 $
- Author:
- Peter
Jacobs Alexander
Verbraeck
JumpOperation
public JumpOperation()
execute
public abstract int execute(OperandStack stack,
Constant[] constantPool,
LocalVariable[] localvariables)
- executes the operation
- Parameters:
stack
- the stack to operate onconstantPool
- the constantpoollocalvariables
- the localvariables
- Returns:
- int the offset in bytes relative to the operand byte of this
operation
Copyright © 2002-2011 Delft University of Technology, the Netherlands. All Rights Reserved.