Convert switch expression yield to arrow

MSAL

Convert switch expressions with colon cases and yield statements to arrow syntax. This recipe is only applicable for Java 21 and later.

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

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