Still adding code to construct termination graph, abstract repair actions, concrete...
[repair.git] / Repair / RepairCompiler / MCC / IR / ForQuantifier.java
index e4150d246cd4be234ea7198945280a529f64b4a5..5739d6320cf3862a4a12b460ecc68e1cfb4e3904 100755 (executable)
@@ -14,13 +14,21 @@ public class ForQuantifier extends Quantifier {
         this.var = vd;
     }
 
+    public VarDescriptor getVar() {
+       return var;
+    }
+
+
     public void setBounds(Expr lower, Expr upper) {
         this.lower = lower;
         this.upper = upper;
     }
 
     public Set getRequiredDescriptors() {
-        return new HashSet();
+        HashSet set=new HashSet();
+       set.addAll(lower.getRequiredDescriptors());
+       set.addAll(upper.getRequiredDescriptors());
+       return set;
     }
 
     public String toString() {