user
10/22/2017, 2:45 PMhttps://kotlinlang.slack.com/files/U4NLYMY9X/F7MKN8BJQ/pasted_image_at_2017_10_20_08_07_pm.png▾
null to a platform type (T!) or passing a platform type to code that is not null safe is perfectly fine and accepted by the compiler, since T! may be either T or T?.
Since IntelliJ is capable of inferring nullability annotations for types in Java would it not be logical to (optionally) consider them to be part of the nullability contract of a said type representation when used from Kotlin? (Say an inspection similar to Java > Probable bugs > Constant Conditions & exceptions?)
My initial question was whether such an inspection exists. I assume it does not at this point. Once again, I want to apologize for any misunderstandings that my wording might have caused.