Add explicit import for Record classes
MSALAdd explicit import for Record classes when upgrading past Java 14+, to avoid conflicts with java.lang.Record.
org. openrewrite. java. migrate. lang. ExplicitRecordImportmod run . --recipe= org. openrewrite. java. migrate. lang. ExplicitRecordImportInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.