nl.tudelft.simulation.dsol.formalisms.process
Class PROCESSINVOKESPECIAL

java.lang.Object
  extended bynl.tudelft.simulation.dsol.interpreter.Operation
      extended bynl.tudelft.simulation.dsol.interpreter.operations.InvokeOperation
          extended bynl.tudelft.simulation.dsol.interpreter.operations.reflection.INVOKESPECIAL
              extended bynl.tudelft.simulation.dsol.formalisms.process.PROCESSINVOKESPECIAL

public class PROCESSINVOKESPECIAL
extends nl.tudelft.simulation.dsol.interpreter.operations.reflection.INVOKESPECIAL

PROCESSINVOKESPECIAL
(c) copyright 2003 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public License (GPL) , no warranty

Version:
1.0 Jan 8, 2004
Author:
Peter Jacobs
Alexander Verbraeck

Field Summary
 
Fields inherited from class nl.tudelft.simulation.dsol.interpreter.operations.reflection.INVOKESPECIAL
index, OP
 
Fields inherited from class nl.tudelft.simulation.dsol.interpreter.Operation
BREAKPOINT, IMPDEP1, IMPDEP2, OPCODE_BYTE_LENGTH
 
Constructor Summary
PROCESSINVOKESPECIAL(java.io.DataInput dataInput)
          constructs a new PROCESSINVOKESPECIAL
 
Method Summary
 nl.tudelft.simulation.dsol.interpreter.Frame execute(nl.tudelft.simulation.dsol.interpreter.Frame frame, java.lang.Object objectRef, java.lang.reflect.Method method, java.lang.Object[] arguments)
          executes the operation and returns a new Frame
 
Methods inherited from class nl.tudelft.simulation.dsol.interpreter.operations.reflection.INVOKESPECIAL
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

PROCESSINVOKESPECIAL

public PROCESSINVOKESPECIAL(java.io.DataInput dataInput)
                     throws java.io.IOException
constructs a new PROCESSINVOKESPECIAL

Parameters:
dataInput - the dataInput
Throws:
java.io.IOException - on IOfailure
Method Detail

execute

public nl.tudelft.simulation.dsol.interpreter.Frame execute(nl.tudelft.simulation.dsol.interpreter.Frame frame,
                                                            java.lang.Object objectRef,
                                                            java.lang.reflect.Method method,
                                                            java.lang.Object[] arguments)
                                                     throws java.lang.Exception
executes the operation and returns a new Frame

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:
java.lang.Exception - on invocation exception


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