chord.analyses.field
Class DomF
java.lang.Object
chord.util.IndexMap<T>
chord.bddbddb.Dom<T>
chord.project.analyses.ProgramDom<joeq.Class.jq_Field>
chord.analyses.field.DomF
- All Implemented Interfaces:
- IClassVisitor, IFieldVisitor, ITask, java.lang.Iterable<joeq.Class.jq_Field>
public class DomF
- extends ProgramDom<joeq.Class.jq_Field>
- implements IFieldVisitor
Domain of fields.
The 0th element in this domain (null) denotes a distinguished
hypothetical field that is regarded as accessed whenever an
array element is accessed. This field can be used by analyses
that do not distinguish between different elements of the
same array.
- Author:
- Mayur Naik (mhn@cs.stanford.edu)
| Fields inherited from class chord.bddbddb.Dom |
name |
|
Constructor Summary |
DomF()
|
|
Method Summary |
void |
init()
|
java.lang.String |
toXMLAttrsString(joeq.Class.jq_Field f)
Provides the XML attributes string of the specified value. |
void |
visit(joeq.Class.jq_Class c)
Visits all classes in the program. |
void |
visit(joeq.Class.jq_Field f)
Visits all fields of all classes in the program. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DomF
public DomF()
init
public void init()
- Overrides:
init in class ProgramDom<joeq.Class.jq_Field>
visit
public void visit(joeq.Class.jq_Class c)
- Description copied from interface:
IClassVisitor
- Visits all classes in the program.
- Specified by:
visit in interface IClassVisitor
- Parameters:
c - A class.
visit
public void visit(joeq.Class.jq_Field f)
- Description copied from interface:
IFieldVisitor
- Visits all fields of all classes in the program.
- Specified by:
visit in interface IFieldVisitor
- Parameters:
f - A field.
toXMLAttrsString
public java.lang.String toXMLAttrsString(joeq.Class.jq_Field f)
- Description copied from class:
ProgramDom
- Provides the XML attributes string of the specified value.
Subclasses may override this method if necessary.
- Overrides:
toXMLAttrsString in class ProgramDom<joeq.Class.jq_Field>
- Parameters:
f - A value.
- Returns:
- The XML attributes string of the specified value.
It is the empty string by default.
- See Also:
ProgramDom.saveToXMLFile()