Find SpringApplication.run(MyApp::class.java, ...) calls

Proprietary

Kotlin 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$KtRecipe
mod 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.