presto-main/src/main/java/io/prestosql/sql/planner/plan/StatisticsWriterNode.java/StatisticsWriterNode/replaceChildren
class StatisticsWriterNode:    @Override
    public PlanNode replaceChildren(List<PlanNode> newChildren)
    {
        return new StatisticsWriterNode(
                getId(),
                Iterables.getOnlyElement(newChildren),
                target,
                rowCountSymbol,
                rowCountEnabled,
                descriptor);
    }