|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.tudelft.simulation.dsol.interpreter.Operation
public abstract class Operation
Represents a Java virtual machine instruction. An operation is id-ed with a short opcode and has a predefined bytelength.
(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 | |
---|---|
static int |
BREAKPOINT
RESERVED OPCODE |
static int |
IMPDEP1
RESERVED OPCODE |
static int |
IMPDEP2
RESERVED OPCODE |
static int |
OPCODE_BYTE_LENGTH
OPCODE_BYTE_LENGTH |
Constructor Summary | |
---|---|
Operation()
|
Method Summary | |
---|---|
abstract int |
getByteLength()
|
abstract int |
getOpcode()
|
String |
toString()
|
static String |
toString(MethodDescriptor methodDescriptor,
Operation[] operations)
represents a set of operations as string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int OPCODE_BYTE_LENGTH
public static final int BREAKPOINT
public static final int IMPDEP1
public static final int IMPDEP2
Constructor Detail |
---|
public Operation()
Method Detail |
---|
public abstract int getOpcode()
public abstract int getByteLength()
public String toString()
toString
in class Object
Object.toString()
public static String toString(MethodDescriptor methodDescriptor, Operation[] operations)
methodDescriptor
- the methodDescriptoroperations
- the operations to represent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |