presto-main/src/main/java/io/prestosql/sql/planner/optimizations/LimitPushDown.java/LimitPushDown/Rewriter
class LimitPushDown:        private Rewriter(PlanNodeIdAllocator idAllocator)
        {
            this.idAllocator = requireNonNull(idAllocator, "idAllocator is null");
        }