Show warnings for Java methods with external annotations when they called from Kotlin code
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
public class ClassWithExternalAnnotatedMembers {
|
||||
String nullableMethod() {
|
||||
return null;
|
||||
}
|
||||
|
||||
String notNullMethod() {
|
||||
return "nya";
|
||||
}
|
||||
|
||||
void methodWithNotNullParameter(Integer x) {
|
||||
}
|
||||
|
||||
String nullableField = "nya";
|
||||
}
|
||||
Reference in New Issue
Block a user