Prefer Arrays.asList(..) over Guava primitives

MSAL

Migrate from Guava com.google.common.primitives.* asList(..) to Arrays.asList(..) where each argument is an element of the primitive type or its box, so the list keeps its element type.

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

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