|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.tudelft.simulation.dsol.interpreter.Operation
nl.tudelft.simulation.dsol.interpreter.operations.InvokeOperation
nl.tudelft.simulation.dsol.interpreter.operations.reflection.INVOKESPECIAL
public class INVOKESPECIAL
INVOKESPECIAL
(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.
| Field Summary | |
|---|---|
protected int |
index
the index to load |
static int |
OP
OP refers to the operand code |
| 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)
executes the operation |
Frame |
execute(Frame frame,
Object objectRef,
Method method,
Object[] arguments)
executes the method on the objectRef |
int |
getByteLength()
|
int |
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 |
| Field Detail |
|---|
public static final int OP
protected int index
| Constructor Detail |
|---|
public INVOKESPECIAL(DataInput dataInput)
throws IOException
dataInput - the dataInput
IOException - on IOfailure| Method Detail |
|---|
public Frame execute(Frame frame)
InvokeOperation
execute in class InvokeOperationframe - The current frame
#execute(nl.tudelft.simulation.dsol.interpreter.Frame)
public Frame execute(Frame frame,
Object objectRef,
Method method,
Object[] arguments)
throws Exception
frame - the frameobjectRef - the objectRefmethod - the methodarguments - the arguments
Exception - on reflection exceptionpublic int getByteLength()
getByteLength in class OperationOperation.getByteLength()public int getOpcode()
getOpcode in class OperationOperation.getOpcode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||