Issue #223 AS2 Detecting uninitialized class fields

This commit is contained in:
Jindra Petk
2013-07-30 23:01:39 +02:00
parent b4bb09065e
commit 765cc1665e
58 changed files with 435 additions and 73 deletions

View File

@@ -231,4 +231,12 @@ public abstract class GraphTargetItem implements Serializable {
}
public abstract boolean hasReturnValue();
public List<GraphTargetItem> getAllSubItems() {
List<GraphTargetItem> ret = new ArrayList<>();
if (value != null) {
ret.add(value);
}
return ret;
}
}