Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Interpreter
Class BytecodeInterpreter  view BytecodeInterpreter download BytecodeInterpreter.java

java.lang.Object
  extended byInterpreter.BytecodeInterpreter
Direct Known Subclasses:
DirectInterpreter, ReflectiveInterpreter

public abstract class BytecodeInterpreter
extends java.lang.Object


Nested Class Summary
(package private)  class BytecodeInterpreter.MethodInterpreter
           
static class BytecodeInterpreter.State
           
static class BytecodeInterpreter.VMInterface
           
static class BytecodeInterpreter.WrappedException
           
 
Field Summary
static boolean ALWAYS_TRACE
           
protected  BytecodeInterpreter.State state
           
protected  BytecodeInterpreter.VMInterface vm
           
 
Constructor Summary
BytecodeInterpreter(BytecodeInterpreter.VMInterface vm, BytecodeInterpreter.State state)
          Creates new Interpreter
 
Method Summary
abstract  java.lang.Object invokeMethod(Clazz.jq_Method m)
           
 java.lang.Object invokeMethod(Clazz.jq_Method m, BytecodeInterpreter.State callee)
           
abstract  java.lang.Object invokeUnsafeMethod(Clazz.jq_Method m)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALWAYS_TRACE

public static boolean ALWAYS_TRACE

state

protected BytecodeInterpreter.State state

vm

protected final BytecodeInterpreter.VMInterface vm
Constructor Detail

BytecodeInterpreter

public BytecodeInterpreter(BytecodeInterpreter.VMInterface vm,
                           BytecodeInterpreter.State state)
Creates new Interpreter

Method Detail

invokeMethod

public abstract java.lang.Object invokeMethod(Clazz.jq_Method m)
                                       throws java.lang.Throwable

invokeUnsafeMethod

public abstract java.lang.Object invokeUnsafeMethod(Clazz.jq_Method m)
                                             throws java.lang.Throwable

invokeMethod

public java.lang.Object invokeMethod(Clazz.jq_Method m,
                                     BytecodeInterpreter.State callee)
                              throws java.lang.Throwable