Casts the present value of this Optional to R, otherwise returns an absent Optional.
R
Optional<R> whereType<R>();