Use switch cases refinement when possible

MSAL

Use guarded switch case labels and guards if all the statements in the switch block do if/else if/else on the guarded label.

org.openrewrite.java.migrate.lang.RefineSwitchCases
mod run . --recipe=org.openrewrite.java.migrate.lang.RefineSwitchCases

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