|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectNISuppressee
public class NISuppressee
Defines a suppressee for non-instantiating suppression. A suppressee consists only of the class at this point since ternary invariants only require the class to define them fully (permutations are built into the class name). When binary invariants are suppressed additional information will need to be included.
| Field Summary | |
|---|---|
Invariant |
sample_inv
|
Class<? extends Invariant> |
sup_class
|
int |
var_count
|
| Constructor Summary | |
|---|---|
NISuppressee(Class<? extends Invariant> cls,
boolean swap)
Define a binary suppressee on the specified class with the specified variable order |
|
NISuppressee(Class<? extends Invariant> cls,
int var_count)
|
|
| Method Summary | |
|---|---|
InvariantStatus |
check(ValueTuple vt,
VarInfo[] vis)
Checks this invariant against the specified sample and returns the status |
List<NIS.SupInv> |
find_all(VarInfo[] vis,
PptTopLevel ppt,
Invariant[] cinvs)
Finds the suppressee invariants on all of the slices specified by vis in the specified ppt. |
boolean |
get_swap()
Returns the swap variable setting for the suppressee. |
List<Invariant> |
instantiate_all(VarInfo[] vis,
PptTopLevel ppt)
Instantiates the suppressee invariant on all of the slices specified by vis in the specified ppt. |
Invariant |
instantiate(PptSlice slice)
Instantiates the suppressee invariant on the specified slice. |
Invariant |
instantiate(VarInfo[] vis,
PptTopLevel ppt)
Instantiates the suppressee invariant on the slice specified by vis in the specified ppt. |
NISuppressee |
swap()
Returns a new suppressee that is the same as this one except that its variables are swapped. |
String |
toString()
|
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Class<? extends Invariant> sup_class
public int var_count
public Invariant sample_inv
| Constructor Detail |
|---|
public NISuppressee(Class<? extends Invariant> cls,
int var_count)
public NISuppressee(Class<? extends Invariant> cls,
boolean swap)
| Method Detail |
|---|
public Invariant instantiate(PptSlice slice)
public InvariantStatus check(ValueTuple vt,
VarInfo[] vis)
public Invariant instantiate(VarInfo[] vis,
PptTopLevel ppt)
public List<Invariant> instantiate_all(VarInfo[] vis,
PptTopLevel ppt)
public List<NIS.SupInv> find_all(VarInfo[] vis,
PptTopLevel ppt,
Invariant[] cinvs)
public boolean get_swap()
public NISuppressee swap()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||