nl.tudelft.simulation.dsol.formalisms.process
Class PROCESSINVOKEINTERFACE
java.lang.Object
nl.tudelft.simulation.dsol.interpreter.Operation
nl.tudelft.simulation.dsol.interpreter.operations.InvokeOperation
nl.tudelft.simulation.dsol.interpreter.operations.reflection.INVOKEINTERFACE
nl.tudelft.simulation.dsol.formalisms.process.PROCESSINVOKEINTERFACE
- public class PROCESSINVOKEINTERFACE
- extends nl.tudelft.simulation.dsol.interpreter.operations.reflection.INVOKEINTERFACE
PROCESSINVOKEINTERFACE
(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
| Fields inherited from class nl.tudelft.simulation.dsol.interpreter.operations.reflection.INVOKEINTERFACE |
index, OP |
| Fields inherited from class nl.tudelft.simulation.dsol.interpreter.Operation |
BREAKPOINT, IMPDEP1, IMPDEP2, OPCODE_BYTE_LENGTH |
|
Constructor Summary |
PROCESSINVOKEINTERFACE(java.io.DataInput dataInput)
constructs a new PROCESSINVOKEINTERFACE |
|
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.INVOKEINTERFACE |
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 |
PROCESSINVOKEINTERFACE
public PROCESSINVOKEINTERFACE(java.io.DataInput dataInput)
throws java.io.IOException
- constructs a new PROCESSINVOKEINTERFACE
- Parameters:
dataInput - the dataInput
- Throws:
java.io.IOException - on IOfailure
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 frameobjectRef - the object on which to invoke the methodarguments - the arguments with which to invoke the methodmethod - 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.