nl.tudelft.simulation.dsol.interpreter.process
Class PROCESSINVOKEVIRTUAL

java.lang.Object
  extended by nl.tudelft.simulation.dsol.interpreter.Operation
      extended by nl.tudelft.simulation.dsol.interpreter.operations.InvokeOperation
          extended by nl.tudelft.simulation.dsol.interpreter.operations.reflection.INVOKEVIRTUAL
              extended by nl.tudelft.simulation.dsol.interpreter.operations.custom.CUSTOMINVOKEVIRTUAL
                  extended by nl.tudelft.simulation.dsol.interpreter.process.PROCESSINVOKEVIRTUAL

public class PROCESSINVOKEVIRTUAL
extends CUSTOMINVOKEVIRTUAL

PROCESSINVOKEVIRTUAL
(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.

Version:
$Revision: 1.1 $
Author:
Peter Jacobs
Alexander Verbraeck

Field Summary
 
Fields inherited from class nl.tudelft.simulation.dsol.interpreter.operations.custom.CUSTOMINVOKEVIRTUAL
interpreterOracle
 
Fields inherited from class nl.tudelft.simulation.dsol.interpreter.operations.reflection.INVOKEVIRTUAL
index, OP
 
Fields inherited from class nl.tudelft.simulation.dsol.interpreter.Operation
BREAKPOINT, IMPDEP1, IMPDEP2, OPCODE_BYTE_LENGTH
 
Constructor Summary
PROCESSINVOKEVIRTUAL(InterpreterOracleInterface interpreterOracle, DataInput dataInput)
          constructs a new PROCESSINVOKEVIRTUAL
 
Method Summary
 Frame execute(Frame frame, Object objectRef, Method method, Object[] arguments)
          executes the operation and returns a new Frame
 
Methods inherited from class nl.tudelft.simulation.dsol.interpreter.operations.reflection.INVOKEVIRTUAL
execute, getByteLength, getOpcode
 
Methods inherited from class nl.tudelft.simulation.dsol.interpreter.Operation
toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PROCESSINVOKEVIRTUAL

public PROCESSINVOKEVIRTUAL(InterpreterOracleInterface interpreterOracle,
                            DataInput dataInput)
                     throws IOException
constructs a new PROCESSINVOKEVIRTUAL

Parameters:
interpreterOracle -
dataInput - the dataInput
Throws:
IOException - on IOfailure
Method Detail

execute

public Frame execute(Frame frame,
                     Object objectRef,
                     Method method,
                     Object[] arguments)
              throws Exception
executes the operation and returns a new Frame

Overrides:
execute in class CUSTOMINVOKEVIRTUAL
Parameters:
frame - the original frame
objectRef - the object on which to invoke the method
arguments - the arguments with which to invoke the method
method - the method to invoke
Returns:
a new frame
Throws:
Exception - on invocation exception
See Also:
#execute(nl.tudelft.simulation.dsol.interpreter.Frame, java.lang.Object, java.lang.reflect.Method, java.lang.Object[])


Copyright © 2002-2011 Delft University of Technology, the Netherlands. All Rights Reserved.