Files
Roman Ivanovandintellij-monorepo-bot 961aaeef1c [java] fix tests after changes in PSI
GitOrigin-RevId: 06dc2b043a9ad2d12eb9973df06d09e1383d714c
2023-08-27 21:24:28 +00:00

16 lines
385 B
Java

/*
Value is always false (str == null; line#9)
'str' was passed as an argument to a method accepting non-null parameter (str; line#8)
Parameter 'str' was inferred to be 'non-null' (str; line#13)
*/
class A {
public A(String str) {
foo(str);
if (<selection>str == null</selection>){
}
}
static void foo(String str) {
System.out.println(str.trim());
}
}