public class IINC 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 |
|---|
IINC(DataInput dataInput)
constructs a new IINC
|
IINC(DataInput dataInput,
boolean widened)
constructs a new IINC
|
| 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 IINC(DataInput dataInput) throws IOException
dataInput - the dataInput to readIOException - on IOExceptionpublic IINC(DataInput dataInput, boolean widened) throws IOException
dataInput - the dataInput to readwidened - is the operation widenedIOException - on IOExceptionpublic void execute(OperandStack stack, Constant[] constantPool, LocalVariable[] localVariables)
VoidOperationexecute in class VoidOperationstack - the stack to operate onconstantPool - the constantpoollocalVariables - the localvariablesVoidOperation.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.