Kotlin nullability annotation
Kotlin nullability annotation
In Kotlin, nullness is part of the type system; s: String
is never null and s: String?
is sometimes null, whether or not you add in additional annotations stating @NonNull
or @Nullable
. These are likely copy/paste mistakes, and are misleading.
Issue id: KotlinNullnessAnnotation
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3 |
Plugin: | Android, 2022.3.1 Beta 2 |
Last modified: 13 July 2023