예:
fun test(foo: Int?) { if (foo == null) throw IllegalArgumentException("foo") // 바꿀 수 있는 절 }
빠른 수정을 적용한 후:
fun test(foo: Int?) { checkNotNull(foo) }