code: @SuppressWarnings("unchecked")
     public static <T, R> SerializableSupplier<Collector<T, ?, R>> toSerialSupplierCollect(
        SerializableSupplier supplier) {
        return supplier;
     }
docs: since Java doesn't work as well with nested generics