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

Quick Search    Search Deep

Interpreter
Class ReflectiveInterpreter  view ReflectiveInterpreter download ReflectiveInterpreter.java

java.lang.Object
  extended byInterpreter.BytecodeInterpreter
      extended byInterpreter.ReflectiveInterpreter

public class ReflectiveInterpreter
extends BytecodeInterpreter

Version:
$Id: ReflectiveInterpreter.java,v 1.19 2003/05/12 10:05:17 joewhaley Exp $

Nested Class Summary
(package private) static class ReflectiveInterpreter.MonitorExit
           
static class ReflectiveInterpreter.ReflectiveState
           
static class ReflectiveInterpreter.ReflectiveVMInterface
           
(package private) static class ReflectiveInterpreter.UninitializedType
           
 
Nested classes inherited from class Interpreter.BytecodeInterpreter
BytecodeInterpreter.MethodInterpreter, BytecodeInterpreter.State, BytecodeInterpreter.VMInterface, BytecodeInterpreter.WrappedException
 
Field Summary
(package private) static java.util.HashSet cantInterpret
           
 
Fields inherited from class Interpreter.BytecodeInterpreter
ALWAYS_TRACE, state, vm
 
Constructor Summary
ReflectiveInterpreter(BytecodeInterpreter.State initialState)
          Creates new ReflectiveInterpreter
 
Method Summary
 java.lang.Object invokeMethod(Clazz.jq_Method m)
           
 java.lang.Object invokeReflective(Clazz.jq_Method m)
           
 java.lang.Object invokeUnsafeMethod(Clazz.jq_Method f)
           
static void main(java.lang.String[] s_args)
           
static java.lang.Object[] parseMethodArgs(int argsSize, Clazz.jq_Type[] paramTypes, java.lang.String[] s_args, int j)
           
 
Methods inherited from class Interpreter.BytecodeInterpreter
invokeMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cantInterpret

static java.util.HashSet cantInterpret
Constructor Detail

ReflectiveInterpreter

public ReflectiveInterpreter(BytecodeInterpreter.State initialState)
Creates new ReflectiveInterpreter

Method Detail

invokeReflective

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

invokeMethod

public java.lang.Object invokeMethod(Clazz.jq_Method m)
                              throws java.lang.Throwable
Specified by:
invokeMethod in class BytecodeInterpreter

invokeUnsafeMethod

public java.lang.Object invokeUnsafeMethod(Clazz.jq_Method f)
                                    throws java.lang.Throwable
Specified by:
invokeUnsafeMethod in class BytecodeInterpreter

main

public static void main(java.lang.String[] s_args)
                 throws java.lang.Throwable

parseMethodArgs

public static java.lang.Object[] parseMethodArgs(int argsSize,
                                                 Clazz.jq_Type[] paramTypes,
                                                 java.lang.String[] s_args,
                                                 int j)