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