nl.tudelft.simulation.dsol.interpreter.operations.custom
Class CUSTOMINVOKESPECIAL

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.INVOKESPECIAL
              extended by nl.tudelft.simulation.dsol.interpreter.operations.custom.CUSTOMINVOKESPECIAL
Direct Known Subclasses:
PROCESSINVOKESPECIAL

public class CUSTOMINVOKESPECIAL
extends INVOKESPECIAL

The CUSTOMINVOKESPECIAL operation as defined in http://java.sun.com/docs/books/vmspec/2nd-edition/html/Instructions2.doc6.html .

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

Since:
1.4
Version:
$Revision: 1.1 $ $Date: 2007/01/06 13:25:12 $
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
CUSTOMINVOKESPECIAL(InterpreterOracleInterface interpreterOracle, DataInput dataInput)
          constructs a new CUSTOMINVOKESPECIAL
 
Method Summary
 Frame execute(Frame frame, Object objectRef, Method method, Object[] arguments)
          executes the method on the objectRef
 
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

CUSTOMINVOKESPECIAL

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

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

execute

public Frame execute(Frame frame,
                     Object objectRef,
                     Method method,
                     Object[] arguments)
              throws Exception
Description copied from class: INVOKESPECIAL
executes the method on the objectRef

Overrides:
execute in class INVOKESPECIAL
Parameters:
frame - the frame
objectRef - the objectRef
method - the method
arguments - the arguments
Returns:
the resulting Frame
Throws:
Exception - on reflection 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.