import java.util.ArrayList fun foo(): Any { val a = ArrayList() return a.get(0) } fun bar(a: ArrayList) { } // 0 checkExpressionValueIsNotNull // 1 checkNotNullExpressionValue // 0 checkParameterIsNotNull // 1 checkNotNullParameter