EditorNode node = (EditorNode) i.next();
ModuleNode node = (ModuleNode) i.next();
    public ArrayList findInputs() {        ArrayList roots = new ArrayList();        Collection nodes = getNodes(null);        Iterator i = nodes.iterator();        while (i.hasNext()) {            EditorNode node = (EditorNode) i.next();            if (node.getSourceCount() == 0) {                roots.add(node);            }        }        return roots;    }