mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
NotNullValues mustn't end up in equivalence classes table.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class ASD {
|
||||
static void foo(Object any) {
|
||||
boolean a = false;
|
||||
boolean b = false;
|
||||
while (true) {
|
||||
boolean trg = bar() == any;
|
||||
|
||||
a = a || trg;
|
||||
b = b || !trg;
|
||||
|
||||
if (b && a) break;
|
||||
}
|
||||
}
|
||||
|
||||
@NotNull
|
||||
static Object bar() {
|
||||
return new Object();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user