user
10/21/2017, 10:03 AMhttps://kotlinlang.slack.com/files/U4NLYMY9X/F7MKN8BJQ/pasted_image_at_2017_10_20_08_07_pm.png▾
@NotNull
annotation.
- IntelliJ provides an inspection that reports calling such functions from Java code. (Left image)
- The inferred annotations are ignored for Kotlin inspections.
So what I should have been asking for is: Is there an option to treat inferred annotations as explicit when inspecting type nullability in Kotlin code?