joeq.Runtime
Class ObjectTraverser

java.lang.Object
  extended by joeq.Runtime.ObjectTraverser
Direct Known Subclasses:
NullInterfaceImpl.NullObjectTraverser

public abstract class ObjectTraverser
extends Object

ObjectTraverser

Version:
$Id: ObjectTraverser.java 2475 2006-12-24 09:44:50Z joewhaley $
Author:
John Whaley

Field Summary
static Object NO_OBJECT
           
static PrintStream out
           
static boolean TRACE
           
 
Constructor Summary
ObjectTraverser()
           
 
Method Summary
 Object getInstanceFieldValue_reflection(Object base, Field f2)
           
 Object getInstanceFieldValue(Object base, jq_InstanceField f)
           
 Object getStaticFieldValue_reflection(Field f2)
           
 Object getStaticFieldValue(jq_StaticField f)
           
abstract  void initialize()
           
static Field lookupField(Class c, String fieldName)
           
abstract  Object mapInstanceField(Object o, jq_InstanceField f)
           
abstract  Object mapStaticField(jq_StaticField f)
           
abstract  Object mapValue(Object o)
           
 void putInstanceFieldValue_reflection(Object base, Field f2, Object o)
           
 void putInstanceFieldValue(Object base, jq_InstanceField f, Object o)
           
 void putStaticFieldValue_reflection(Field f2, Object o)
           
 void putStaticFieldValue(jq_StaticField f, Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRACE

public static boolean TRACE

out

public static final PrintStream out

NO_OBJECT

public static final Object NO_OBJECT
Constructor Detail

ObjectTraverser

public ObjectTraverser()
Method Detail

initialize

public abstract void initialize()

mapStaticField

public abstract Object mapStaticField(jq_StaticField f)

mapInstanceField

public abstract Object mapInstanceField(Object o,
                                        jq_InstanceField f)

mapValue

public abstract Object mapValue(Object o)

getStaticFieldValue

public Object getStaticFieldValue(jq_StaticField f)

lookupField

public static Field lookupField(Class c,
                                String fieldName)

getStaticFieldValue_reflection

public Object getStaticFieldValue_reflection(Field f2)

getInstanceFieldValue

public Object getInstanceFieldValue(Object base,
                                    jq_InstanceField f)

getInstanceFieldValue_reflection

public Object getInstanceFieldValue_reflection(Object base,
                                               Field f2)

putStaticFieldValue

public void putStaticFieldValue(jq_StaticField f,
                                Object o)

putStaticFieldValue_reflection

public void putStaticFieldValue_reflection(Field f2,
                                           Object o)

putInstanceFieldValue

public void putInstanceFieldValue(Object base,
                                  jq_InstanceField f,
                                  Object o)

putInstanceFieldValue_reflection

public void putInstanceFieldValue_reflection(Object base,
                                             Field f2,
                                             Object o)


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