Java API best practices

MSAL

Use the Java standard library in a way that is most idiomatic.

org.openrewrite.staticanalysis.JavaApiBestPractices
mod run . --recipe=org.openrewrite.staticanalysis.JavaApiBestPractices

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

Recipe list

It runs these recipes, in this order.

  1. Use Map#containsKey