Public Methods | |
void | addValuePredicate (String name, Expr expr) |
Vector | getValuePredicates () |
boolean | isObservable (Object o) |
String | predicateName (Object pred) |
void | print () |
PredicateSet (Name name) | |
Name | getName () |
java util Hashtable | getPredicateTable () |
void | putPredicate (Predicate predicate) throws DuplicatePredicateException |
Static Public Methods | |
TreeSet | getDefinedPredicates (Object key) |
Predicate | getPredicate (Name name) throws PredicateNotDeclaredException |
PredicateSet | getPredicateSet (Name name) throws PredicateSetNotDeclaredException |
Hashtable | getPredicateSetTable () |
void | reset () |
Private Methods | |
void | addPredicateLocation (Stmt stmt, Location loc) |
LocVector | getPredicateLocations (Stmt stmt) |
Static Private Methods | |
void | putPredicateSet (PredicateSet predicateSet) |
Private Attributes | |
Vector | valuePredicates = new Vector() |
Hashtable | predicateName = new Hashtable() |
Hashtable | predLocations = new Hashtable() |
Hashtable | observableSet = new Hashtable() |
Name | name |
Hashtable | predTable = new Hashtable() |
Static Private Attributes | |
Hashtable | table = new Hashtable() |
Hashtable | defTable = new Hashtable() |
Predicates on the location of threads should be specified as value predicates using the LocationTestExpr extension to Jimple.
Usage:
PredicateSet predicates = new PredicateSet(); Vector stmts = new Vector(); Stmt retStmt = ...; stmt.addElement(retStmt); LocationTestExpr test = new LocationTestExpr(stmts); predicates.addValuePredicate("atReturn",test); Expr xGT0Expr = ...; predicates.addValuePredicate("xGT0",xGT0Expr);
Definition at line 65 of file birc/PredicateSet.java.
|
Definition at line 50 of file specification/predicate/datastructure/PredicateSet.java. |
|
Add a value predicate (a Jimple Expr) Definition at line 87 of file birc/PredicateSet.java. |
|
Definition at line 59 of file specification/predicate/datastructure/PredicateSet.java. |
|
Definition at line 70 of file specification/predicate/datastructure/PredicateSet.java. Referenced by putPredicateSet().
|
|
Definition at line 78 of file specification/predicate/datastructure/PredicateSet.java. |
|
Definition at line 94 of file specification/predicate/datastructure/PredicateSet.java. Referenced by getPredicate().
|
|
Definition at line 104 of file specification/predicate/datastructure/PredicateSet.java. |
|
Definition at line 111 of file specification/predicate/datastructure/PredicateSet.java. |
|
Definition at line 118 of file specification/predicate/datastructure/PredicateSet.java. |
|
Definition at line 145 of file specification/predicate/datastructure/PredicateSet.java. |