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

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.INVOKESTATIC
              extended by nl.tudelft.simulation.dsol.interpreter.operations.INVOKESTATIC

public class INVOKESTATIC
extends INVOKESTATIC

The INVOKESTATIC 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:09 $
Author:
Peter Jacobs Alexander Verbraeck

Field Summary
 
Fields inherited from class nl.tudelft.simulation.dsol.interpreter.operations.reflection.INVOKESTATIC
index, OP
 
Fields inherited from class nl.tudelft.simulation.dsol.interpreter.Operation
BREAKPOINT, IMPDEP1, IMPDEP2, OPCODE_BYTE_LENGTH
 
Constructor Summary
INVOKESTATIC(DataInput dataInput)
          constructs a new INVOKESTATIC
 
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.INVOKESTATIC
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

INVOKESTATIC

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

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: INVOKESTATIC
executes the method on the objectRef

Overrides:
execute in class INVOKESTATIC
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.