return fieldNodeSet;
}
- private Set<FlowEdge> outEdgeSet;
-
public FlowNode(NTuple<Descriptor> tuple) {
this.isSkeleton = false;
if (desc != null) {
descTuple.add(desc);
}
- outEdgeSet = new HashSet<FlowEdge>();
}
return rtr;
}
- public Iterator<FlowEdge> iteratorOfOutEdges() {
- return outEdgeSet.iterator();
- }
-
- public void addOutEdge(FlowEdge out) {
- outEdgeSet.add(out);
- }
-
- public Set<FlowEdge> getOutEdgeSet() {
- return outEdgeSet;
- }
public int hashCode() {
return 7 + descTuple.hashCode();
public String getPrettyID() {
String id = "<";
+ String property = "";
for (int i = 0; i < descTuple.size(); i++) {
if (i != 0) {
id += ",";
id += " " + compLoc;
}
- return id;
+ // if (isReturn()) {
+ // property += "R";
+ // }
+ //
+ // if (isSkeleton()) {
+ // property += "S";
+ // }
+
+ if (property.length() > 0) {
+ property = " [" + property + "]";
+ }
+
+ return id + property;
}
public void setDeclarationNode() {