public class INVOKEVIRTUAL extends InvokeOperation
Modifier and Type | Field and Description |
---|---|
protected int |
index
the index to load
|
static int |
OP
OP refers to the operand code
|
BREAKPOINT, IMPDEP1, IMPDEP2, OPCODE_BYTE_LENGTH
Constructor and Description |
---|
INVOKEVIRTUAL(DataInput dataInput)
constructs a new INVOKEVIRTUAL
|
public static final int OP
protected int index
public INVOKEVIRTUAL(DataInput dataInput) throws IOException
dataInput
- the dataInputIOException
- on IOfailurepublic Frame execute(Frame frame)
InvokeOperation
execute
in class InvokeOperation
frame
- The current frame#execute(nl.tudelft.simulation.dsol.interpreter.Frame)
public Frame execute(Frame frame, Object objectRef, Method method, Object[] arguments) throws Exception
frame
- the frameobjectRef
- the objectRefmethod
- the methodarguments
- the argumentsException
- on reflection exceptionpublic 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.