Find throw RuntimeException("…") calls

Proprietary

Same family as throw Exception("...") — flag for replacement with IllegalArgumentException/IllegalStateException/domain-specific subclass.

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