presto-main/src/main/java/io/prestosql/sql/planner/iterative/Plans.java/Plans/resolveGroupReferences
class Plans:    public static PlanNode resolveGroupReferences(PlanNode node, Lookup lookup)
    {
        requireNonNull(node, "node is null");
        return node.accept(new ResolvingVisitor(lookup), null);
    }