Inspectopedia Help

Unknown nullness

Unknown nullness

To improve referencing this code from Kotlin, consider adding explicit nullness information here with either @NonNull or @Nullable.

Issue id: UnknownNullness

Available options:

ignore-deprecated (default is false):

Whether to ignore classes and members that have been annotated with @Deprecated.

Normally this lint check will flag all unannotated elements, but by setting this option to true it will skip any deprecated elements.

To configure this option, use a lint.xml file with an <option> like this:

<lint> <issue id="UnknownNullness"> <option name="ignore-deprecated" value="false" /> </issue> </lint>

https://developer.android.com/kotlin/interop#nullability_annotations

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