Prefer java.util.Optional#or(Supplier<? extends Optional<? extends T>>)
MSALPrefer java.util.Optional#or(Supplier<? extends Optional<? extends T>>) over com.google.common.base.Optional#or(com.google.common.base.Optional), or Optional#map(Optional::of).orElse(Optional) before Java 9.
org. openrewrite. java. migrate. guava. PreferJavaUtilOptionalOrSuppliermod run . --recipe= org. openrewrite. java. migrate. guava. PreferJavaUtilOptionalOrSupplierInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.