void (SliceNode node, List<? super SliceNode> to) { node.update(); node.calculateDupNode(); to.add(node); Collection<SliceNode> nodes = node.getChildren(); for (SliceNode child : nodes) { expandNodesTo(child, to); } }