harpoon.Backend.Runtime1
Class DataReflectionMemberList

java.lang.Object
  |
  +--harpoon.ClassFile.HData
        |
        +--harpoon.IR.Tree.Data
              |
              +--harpoon.Backend.Runtime1.Data
                    |
                    +--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.

Version:
$Id: DataReflectionMemberList.java,v 1.2 2002/02/25 21:02:20 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Nested Class Summary
 
Nested classes 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, tf
 
Constructor Summary
DataReflectionMemberList(Frame f, HClass hc, ClassHierarchy ch)
          Creates a DataReflectionMemberList.
 
Methods inherited from class harpoon.Backend.Runtime1.Data
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.