Prefer specific types over Any

Proprietary

Finds variable declarations whose type expression contains Any. Type Any is the Scala equivalent of Object and is usually too broad.

org.openrewrite.scala.cleanup.PreferSpecificTypes
mod run . --recipe=org.openrewrite.scala.cleanup.PreferSpecificTypes

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