presto-main/src/main/java/io/prestosql/sql/planner/plan/LimitNode.java/LimitNode/replaceChildren
class LimitNode:    @Override
    public PlanNode replaceChildren(List<PlanNode> newChildren)
    {
        return new LimitNode(getId(), Iterables.getOnlyElement(newChildren), count, tiesResolvingScheme, isPartial());
    }