edu.rice.cs.dynamicjava.symbol
Class TypeSystem.FieldReference

java.lang.Object
  extended by edu.rice.cs.dynamicjava.symbol.TypeSystem.FieldReference
Direct Known Subclasses:
TypeSystem.ObjectFieldReference, TypeSystem.StaticFieldReference
Enclosing class:
TypeSystem

public abstract static class TypeSystem.FieldReference
extends java.lang.Object

Abstraction of the result of a static or non-static field lookup


Constructor Summary
protected TypeSystem.FieldReference(DJField field, Type type)
           
 
Method Summary
 boolean equals(java.lang.Object that)
           
 DJField field()
           
 int hashCode()
           
 Type type()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeSystem.FieldReference

protected TypeSystem.FieldReference(DJField field,
                                    Type type)
Method Detail

field

public DJField field()
Returns:
The reflection object corresponding to the accessed field

type

public Type type()
Returns:
The return type of the access (before capture)

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object