Find hiltViewModel<X>() calls inside @Composable
ProprietaryhiltViewModel<MyViewModel>() inside a @Composable couples the screen-level dependency injection to that composable. That is the recommended pattern at navigation entry points, but flagged for review when the same ViewModel is injected from multiple composables (you'll get distinct instances per nav graph entry).
org. openrewrite. kotlin. compose. FindHiltViewModelInComposable$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. compose. FindHiltViewModelInComposable$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.