I use both Kotlin and Java in my code, because of the Kotlin's flexible nullability, I get method invocation ... may produce java.lang.NullPointerException
lints in my code,
I run Code inspection
in my project, it displays
and
none of them lists the possible NPE lints? Is there a place to list those lints?
I just realized when you inspect code in Android Studio there is a section called Probable bugs
under this section there is Constant conditions & exceptions
and it displays all the NPE lints, not specifically for NPE but it may help in this case.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With