nl.tudelft.simulation.dsol.interpreter.operations
Class INVOKESPECIAL

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

public class INVOKESPECIAL
extends INVOKESPECIAL

The INVOKESPECIAL 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:08 $
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
INVOKESPECIAL(DataInput dataInput)
          constructs a new INVOKESPECIAL
 
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

INVOKESPECIAL

public INVOKESPECIAL(DataInput dataInput)
              throws IOException
constructs a new INVOKESPECIAL

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.