public class CUSTOMINVOKEINTERFACE extends INVOKEINTERFACE
(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.
index, OP
BREAKPOINT, IMPDEP1, IMPDEP2, OPCODE_BYTE_LENGTH
Constructor and Description |
---|
CUSTOMINVOKEINTERFACE(InterpreterOracleInterface interpreterOracle,
DataInput dataInput)
constructs a new CUSTOMINVOKEINTERFACE
|
Modifier and Type | Method and Description |
---|---|
Frame |
execute(Frame frame,
Object objectRef,
Method method,
Object[] arguments)
executes the method on the objectRef
|
execute, getByteLength, getOpcode
public CUSTOMINVOKEINTERFACE(InterpreterOracleInterface interpreterOracle, DataInput dataInput) throws IOException
the
- interpreterOracle to usedataInput
- the dataInputIOException
- on IOfailurepublic Frame execute(Frame frame, Object objectRef, Method method, Object[] arguments) throws Exception
INVOKEINTERFACE
execute
in class INVOKEINTERFACE
frame
- the frameobjectRef
- the objectRefmethod
- the methodarguments
- the argumentsException
- on reflection exception#execute(nl.tudelft.simulation.dsol.interpreter.Frame,
java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.