Convert switch expression yield to arrow
MSALConvert 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. SwitchExpressionYieldToArrowmod run . --recipe= org. openrewrite. java. migrate. lang. SwitchExpressionYieldToArrowInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.