mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
13 lines
275 B
Java
13 lines
275 B
Java
import org.jetbrains.annotations.Contract;
|
|
|
|
class C {
|
|
@Contract(value = "!null, _ -> true; null, null -> true; null, !null -> false", pure = true)
|
|
boolean fooInverted(String s, String s2) {
|
|
return s != null || s2 == null;
|
|
}
|
|
|
|
void bar() {
|
|
fooInverted();
|
|
}
|
|
}
|