例:
fun test(foo: Int?) { if (foo == null) throw IllegalArgumentException("foo") // 置換できる節 }
クイックフィックス適用後:
fun test(foo: Int?) { checkNotNull(foo) }