Find @Stable on classes with var properties

Proprietary

@Stable is a contract: callers may skip recomposition when input references compare equal, and the class promises that equals/hashCode reflect all observable state. A var property breaks both halves — the value can mutate without anyone updating the snapshot system, so the annotation lies and downstream @Composables silently skip required recompositions.

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