joeq.Interpreter
Class ReflectiveInterpreter

java.lang.Object
  extended by joeq.Interpreter.BytecodeInterpreter
      extended by joeq.Interpreter.ReflectiveInterpreter

public class ReflectiveInterpreter
extends BytecodeInterpreter

Version:
$Id: ReflectiveInterpreter.java,v 1.29 2005/04/29 07:38:59 joewhaley Exp $
Author:
John Whaley

Nested Class Summary
static class ReflectiveInterpreter.ReflectiveState
           
static class ReflectiveInterpreter.ReflectiveVMInterface
           
 
Nested classes/interfaces inherited from class joeq.Interpreter.BytecodeInterpreter
BytecodeInterpreter.State, BytecodeInterpreter.VMInterface, BytecodeInterpreter.WrappedException
 
Field Summary
 
Fields inherited from class joeq.Interpreter.BytecodeInterpreter
ALWAYS_TRACE
 
Constructor Summary
ReflectiveInterpreter(BytecodeInterpreter.State initialState)
          Creates new ReflectiveInterpreter
 
Method Summary
 java.lang.Object invokeMethod(jq_Method m)
           
 java.lang.Object invokeMethod(jq_Method m, BytecodeInterpreter.State callee)
           
 java.lang.Object invokeReflective(jq_Method m)
           
 java.lang.Object invokeUnsafeMethod(jq_Method f)
           
static void main(java.lang.String[] s_args)
           
static java.lang.Object[] parseMethodArgs(int argsSize, jq_Type[] paramTypes, java.lang.String[] s_args, int j)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectiveInterpreter

public ReflectiveInterpreter(BytecodeInterpreter.State initialState)
Creates new ReflectiveInterpreter

Method Detail

invokeReflective

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

invokeMethod

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

invokeMethod

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

invokeUnsafeMethod

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

main

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

parseMethodArgs

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