Prefer Predicate.not(Predicate) or Predicate.negate()

MSAL

Prefer java.util.function.Predicate.not(Predicate) over Guava's Predicates.not(Predicate) on Java 11 or higher, and Predicate.negate() before Java 11.

org.openrewrite.java.migrate.guava.NoGuavaPredicatesNot
mod run . --recipe=org.openrewrite.java.migrate.guava.NoGuavaPredicatesNot

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.