|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectNISuppressionSet
public class NISuppressionSet
Class that defines a set of non-instantiating suppressions for a single invariant (suppressee).
| Field Summary | |
|---|---|
static Logger |
debug
|
| Constructor Summary | |
|---|---|
NISuppressionSet(NISuppression[] suppressions)
|
|
| Method Summary | |
|---|---|
void |
add_to_suppressor_map(Map<Class<? extends Invariant>,List<NISuppressionSet>> suppressor_map)
Adds this set to the suppressor map. |
void |
clear_state()
Clears the suppressor state in each suppression. |
void |
falsified(Invariant inv,
List<Invariant> new_invs)
NIS process a falsified invariant. |
NISuppressee |
get_suppressee()
Returns the suppressee |
boolean |
is_instantiate_ok(PptSlice slice)
Determines whether or not the suppression set is valid in the specified slice. |
boolean |
is_instantiate_ok(PptTopLevel ppt,
VarInfo[] var_infos)
Determines whether or not the suppressee of the suppression set should be instantiated. |
Iterator<NISuppression> |
iterator()
|
void |
recurse_definitions(NISuppressionSet ss)
Each suppression where a suppressor matches the suppressee in ss is augmented by additional suppression(s) where the suppressor is replaced by each of its suppressions. |
boolean |
suppressed(PptSlice slice)
Determines whether or not the suppression set is valid in the specified slice. |
boolean |
suppressed(PptTopLevel ppt,
VarInfo[] var_infos)
Determines whether or not the suppression set is valid in the specified ppt and var_infos. |
NISuppressionSet |
swap()
Swaps each suppressor and suppressee to the opposite variable order. |
String |
toString()
Returns a string containing each suppression separated by commas. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Logger debug
| Constructor Detail |
|---|
public NISuppressionSet(NISuppression[] suppressions)
| Method Detail |
|---|
public Iterator<NISuppression> iterator()
iterator in interface Iterable<NISuppression>public void add_to_suppressor_map(Map<Class<? extends Invariant>,List<NISuppressionSet>> suppressor_map)
public void falsified(Invariant inv,
List<Invariant> new_invs)
public boolean suppressed(PptSlice slice)
for a check that considers missing
public boolean suppressed(PptTopLevel ppt,
VarInfo[] var_infos)
for a check that
considers missingpublic boolean is_instantiate_ok(PptSlice slice)
public boolean is_instantiate_ok(PptTopLevel ppt,
VarInfo[] var_infos)
public void recurse_definitions(NISuppressionSet ss)
public NISuppressionSet swap()
public NISuppressee get_suppressee()
public void clear_state()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||