harpoon.Backend.Runtime1
Class DataReflectionMemberList

java.lang.Object
  extended by harpoon.ClassFile.HData
      extended by harpoon.IR.Tree.Data
          extended by harpoon.Backend.Runtime1.Data
              extended by harpoon.Backend.Runtime1.DataReflectionMemberList

public class DataReflectionMemberList
extends Data

DataReflectionMemberList creates tables which the JNI interface will use. This includes:

  1. a table to map java.lang.reflect.Field objects to field information structures, sorted in order of the (non-relocatable) Field object address. (begins at field2info_start, ends at field2info_end)
  2. a table to map java.lang.reflect.Method objects to method information structures, sorted in order of the (non-relocatable) Method object address. (begins at method2info_start, ends at method2info_end)
  3. Static java.lang.reflect.Field objects. As the JDK dictates, these contain no actual field data; however, table #1 above is keyed by the object address to fetch the actual field information structures.
  4. Static java.lang.reflect.Method objects. As the JDK dictates, these contain no actual method data; however, table #2 above is keyed by the object address to fetch the actual method information structures.
  5. Static java.lang.reflect.Constructor objects. Similar to the above.

Version:
$Id: DataReflectionMemberList.java,v 1.7 2004/06/25 14:33:21 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Nested Class Summary
 
Nested classes/interfaces inherited from class harpoon.IR.Tree.Data
Data.TreeFactory
 
Field Summary
 
Fields inherited from class harpoon.Backend.Runtime1.Data
root
 
Fields inherited from class harpoon.IR.Tree.Data
desc, frame, modCount, tf
 
Constructor Summary
DataReflectionMemberList(Frame f, HClass hc, ClassHierarchy ch)
          Creates a DataReflectionMemberList.
 
Method Summary
 
Methods inherited from class harpoon.Backend.Runtime1.Data
_DATUM, _DATUM, emitUtf8String, getHClass, getRootElement, hashCode, toUTF8
 
Methods inherited from class harpoon.IR.Tree.Data
getDesc, print
 
Methods inherited from class harpoon.ClassFile.HData
clone, getElementsI, getElementsL, print
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataReflectionMemberList

public DataReflectionMemberList(Frame f,
                                HClass hc,
                                ClassHierarchy ch)
Creates a DataReflectionMemberList.