edu.rice.cs.dynamicjava.symbol
Interface DJField

All Superinterfaces:
Access.Limited, Variable
All Known Implementing Classes:
ArrayLengthField, JavaClass.JavaField

public interface DJField
extends Variable, Access.Limited

Represents a field declaration.


Method Summary
 Access accessibility()
          The symbol's access level.
 Box<Object> boxForReceiver(Object receiver)
           
 Option<Object> constantValue()
           
 DJClass declaringClass()
          The class declaring this field.
 boolean isStatic()
           
 
Methods inherited from interface edu.rice.cs.dynamicjava.symbol.Variable
declaredName, isFinal, type
 
Methods inherited from interface edu.rice.cs.dynamicjava.symbol.Access.Limited
accessModule, declaredName
 

Method Detail

declaringClass

DJClass declaringClass()
The class declaring this field. May be null for certain special fields.


isStatic

boolean isStatic()

accessibility

Access accessibility()
Description copied from interface: Access.Limited
The symbol's access level.

Specified by:
accessibility in interface Access.Limited

constantValue

Option<Object> constantValue()

boxForReceiver

Box<Object> boxForReceiver(Object receiver)