Find SpringApplication.run(MyApp::class.java, ...) calls
ProprietaryKotlin Spring Boot ships a reified helper runApplication<MyApp>(*args) that drops the ::class.java token and the explicit SpringApplication reference. The Java-style form here works but reads as a Java port — flag for migration.
org. openrewrite. kotlin. spring. FindSpringApplicationRunJava$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. spring. FindSpringApplicationRunJava$KtRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.