文本文件  |  13行  |  267 B

class Node {
    abstract java.util.List<Node> getChildrenNodes();
}

class Foo {

    public Object bar() {
        Node node;
        java.util.List<Node> children = new java.util.LinkedList<Node>();
        return children.addAll(node.getChildrenNodes());
    }
}