a bunch of fixes.
[IRC.git] / Robust / src / Analysis / SSJava / FlowNode.java
index 21a2e089be9da54397dd6729c0b5fec0431d513c..eb9c2a7e9a7a5fa581183e50e8a2fcd643812eca 100644 (file)
@@ -18,6 +18,9 @@ public class FlowNode {
   // set true if this node is driven from a paramter
   private boolean isParameter;
 
   // set true if this node is driven from a paramter
   private boolean isParameter;
 
+  // set true if this node stores a return value
+  private boolean isReturn;
+
   public Set<FlowNode> getFieldNodeSet() {
     return fieldNodeSet;
   }
   public Set<FlowNode> getFieldNodeSet() {
     return fieldNodeSet;
   }
@@ -63,6 +66,14 @@ public class FlowNode {
     return descTuple.get(descTuple.size() - 1);
   }
 
     return descTuple.get(descTuple.size() - 1);
   }
 
+  public boolean isReturn() {
+    return isReturn;
+  }
+
+  public void setReturn(boolean isReturn) {
+    this.isReturn = isReturn;
+  }
+
   public String toString() {
     String rtr = "[FlowNode]:";
     if (isParameter()) {
   public String toString() {
     String rtr = "[FlowNode]:";
     if (isParameter()) {