Example:
fun test(foo: Int?) { if (foo == null) throw IllegalArgumentException("foo") // replaceable clause }
After the quick-fix is applied:
fun test(foo: Int?) { checkNotNull(foo) }