mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
15 lines
259 B
Kotlin
Vendored
15 lines
259 B
Kotlin
Vendored
import java.util.ArrayList
|
|
|
|
fun foo(): Any {
|
|
val a = ArrayList<String>()
|
|
return a.get(0)
|
|
}
|
|
|
|
fun bar(a: ArrayList<String>) {
|
|
}
|
|
|
|
// 1 checkExpressionValueIsNotNull
|
|
// 0 checkNotNullExpressionValue
|
|
// 1 checkParameterIsNotNull
|
|
// 0 checkNotNullParameter
|