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 2250 2005-04-29 07:41:11Z joewhaley $
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, istate, vm
 
Constructor Summary
ReflectiveInterpreter(BytecodeInterpreter.State initialState)
          Creates new ReflectiveInterpreter
 
Method Summary
 Object invokeMethod(jq_Method m)
           
 Object invokeMethod(jq_Method m, BytecodeInterpreter.State callee)
           
 Object invokeReflective(jq_Method m)
           
 Object invokeUnsafeMethod(jq_Method f)
           
static void main(String[] s_args)
           
static Object[] parseMethodArgs(int argsSize, jq_Type[] paramTypes, String[] s_args, int j)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectiveInterpreter

public ReflectiveInterpreter(BytecodeInterpreter.State initialState)
Creates new ReflectiveInterpreter

Method Detail

invokeReflective

public Object invokeReflective(jq_Method m)
                        throws Throwable
Throws:
Throwable

invokeMethod

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

invokeMethod

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

invokeUnsafeMethod

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

main

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

parseMethodArgs

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


Copyright © 2001-2008 John Whaley. All Rights Reserved.