Find @Value on lateinit var properties
ProprietaryIndividual @Value("\${x}") reads scatter configuration access across the codebase. Grouping related properties under a single @ConfigurationProperties data class produces typed, validated, IDE-discoverable config — and works seamlessly with data class + non-null types in Kotlin.
org. openrewrite. kotlin. spring. FindValueAnnotationOnLateinit$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. spring. FindValueAnnotationOnLateinit$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.