Show warnings for Java methods with external annotations when they called from Kotlin code
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
fun test() {
|
||||
val x = ClassWithExternalAnnotatedMembers()
|
||||
x.notNullMethod()<warning descr="[UNNECESSARY_SAFE_CALL] Unnecessary safe call on a non-null receiver of type String!">?.</warning>toLowerCase()
|
||||
}
|
||||
Reference in New Issue
Block a user