|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.mjc.CContextNullity
This class provides routines used to implement the Nullity Accessor methods that are delcared in CContextType.
| Field Summary | |
private List |
nonNulls
|
private List |
nulls
|
| Constructor Summary | |
CContextNullity()
|
|
| Method Summary | |
void |
addFANonNull(Object expr)
Mark expr as NonNull in this context |
void |
addFANonNulls(Object[] exprs)
adds exprs as NonNull in this context |
void |
addFANull(Object expr)
|
void |
addFANulls(Object[] exprs)
|
void |
adoptNullityInfo(CContextType other)
|
void |
dumpNonNulls(String msg)
Prints the msg and then the non-nulls |
Object[] |
getFANonNulls()
|
Object[] |
getFANulls()
|
static List |
intersectList(List a,
Object[] b)
|
boolean |
isFANonNull(CFieldAccessor expr)
|
boolean |
isFANonNull(JPhylum expr)
Indicates whether expr is conditionally NonNull is this context. |
void |
mergeNullityInfo(CContextType other)
Merge the list of nulls in this context with that of the given context. |
private void |
removeAllExceptLocalVariables(List list)
|
void |
removeAllFANullity()
|
void |
removeAllNullityExceptLocalVariables()
|
void |
removeFANonNull(Object expr)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private List nonNulls
private List nulls
| Constructor Detail |
public CContextNullity()
| Method Detail |
public boolean isFANonNull(JPhylum expr)
public boolean isFANonNull(CFieldAccessor expr)
public void addFANonNull(Object expr)
public void addFANull(Object expr)
public void removeFANonNull(Object expr)
public void removeAllFANullity()
public void removeAllNullityExceptLocalVariables()
private void removeAllExceptLocalVariables(List list)
public void addFANonNulls(Object[] exprs)
public void addFANulls(Object[] exprs)
public void mergeNullityInfo(CContextType other)
public void adoptNullityInfo(CContextType other)
public static List intersectList(List a,
Object[] b)
public Object[] getFANonNulls()
public Object[] getFANulls()
public void dumpNonNulls(String msg)
|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||