<@U4NLYMY9X> commented on <@U4NLYMY9X>’s file <htt...
# intellij
u
@Leon Linhart commented on @Leon Linhart’s file

https://kotlinlang.slack.com/files/U4NLYMY9X/F7MKN8BJQ/pasted_image_at_2017_10_20_08_07_pm.png

: A little bit more detail: - The library is written in Java and the function's first parameter is not explicitly annotated. - IntelliJ's code analysis (correctly) infers the
@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?