package nl.tudelft.simulation.dsol.interpreter.operations; import nl.tudelft.simulation.dsol.interpreter.LocalVariable; import nl.tudelft.simulation.dsol.interpreter.OperandStack; import nl.tudelft.simulation.dsol.interpreter.Operation; import nl.tudelft.simulation.dsol.interpreter.classfile.Constant; /** * The VoidOperation is an abstract class for all operations which do not return any value. The VoidOperation only pops * and pushes from the stack. *
* (c) copyright 2002-2014 Delft University of Technology.
* BSD-style license. See DSOL License.
* @author Peter Jacobs
* @author Alexander Verbraeck
*/
public abstract class VoidOperation extends Operation
{
/**
* executes the operation.
* @param stack the stack to operate on
* @param constantPool the constantpool
* @param localvariables the localvariables
*/
public abstract void execute(final OperandStack stack, final Constant[] constantPool,
final LocalVariable[] localvariables);
}