Find !! not-null assertions
ProprietaryEach !! is a runtime promise — when the receiver turns out to be null, the program crashes with a NullPointerException. A reviewer or LLM agent reading the code should know which positions are betting against the type system; many of them are candidates for ?.let { … } or a requireNotNull with a better diagnostic.
org. openrewrite. kotlin. search. FindNotNullAssertions$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. search. FindNotNullAssertions$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.