Find @ConfigurationProperties classes that aren't data class

Proprietary

A @ConfigurationProperties carrier should be a data class with val properties: immutable, equals/hashCode/toString for free, and the constructor binder works without @ConstructorBinding. Plain class carriers either require mutable lateinit var or lose the value-class benefits.

org.openrewrite.kotlin.spring.FindConfigurationPropertiesWithoutData$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.spring.FindConfigurationPropertiesWithoutData$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.