daikon.dcomp
Class DCRuntime.StaticReferenceTag

Object
  extended by DCRuntime.FieldTag
      extended by DCRuntime.StaticReferenceTag
Enclosing class:
DCRuntime

public static class DCRuntime.StaticReferenceTag
extends DCRuntime.FieldTag

Class that gets the tag for a static reference variable. The tag for a reference variable is the object itself, so that is obtained via reflection


Constructor Summary
DCRuntime.StaticReferenceTag(FieldInfo fi)
          Initialize for this field
 
Method Summary
 Object get_tag(Object parent, Object obj)
          Gets the tag for this static reference
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DCRuntime.StaticReferenceTag

public DCRuntime.StaticReferenceTag(FieldInfo fi)
Initialize for this field

Method Detail

get_tag

public Object get_tag(Object parent,
                      Object obj)
Gets the tag for this static reference

Parameters:
parent - Object that contains the field (if any)
obj - Value of the field itself (if available and if its an object