daikon.dcomp
Class DCRuntime.PrimitiveTag

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

public static class DCRuntime.PrimitiveTag
extends DCRuntime.FieldTag

Class that gets the tag for a primitive instance field. Each object with primitive fields has a corresponding tag array in field map. The tag for a particular field is stored at that fields offset in the tag array.


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

Constructor Detail

DCRuntime.PrimitiveTag

public DCRuntime.PrimitiveTag(FieldInfo fi)
Method Detail

get_tag

public Object get_tag(Object parent,
                      Object obj)
Description copied from class: DCRuntime.FieldTag
Gets the tag for the field

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