Find lambda parameters on @Composable functions

Proprietary

Function-typed parameters are unstable from Compose's stability inferrer perspective unless the lambda reference is stable (e.g., function reference or rememberd). For frequently-recomposed composables, accept a (T) -> Unit and document caller responsibility, or fold the callback into a stable holder. Flag for review when the API is performance-sensitive.

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