NotNullValues mustn't end up in equivalence classes table.

This commit is contained in:
Maxim Shafirov
2012-03-16 21:05:10 +04:00
parent 0bd1e964ed
commit 7b4b682836
3 changed files with 36 additions and 0 deletions
@@ -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();
}
}