mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +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>) {
|
|
}
|
|
|
|
// 0 checkExpressionValueIsNotNull
|
|
// 1 checkNotNullExpressionValue
|
|
// 0 checkParameterIsNotNull
|
|
// 1 checkNotNullParameter
|