mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
32 lines
707 B
Java
32 lines
707 B
Java
import org.jetbrains.annotations.Nullable;
|
|
|
|
import java.lang.Boolean;
|
|
import java.util.List;
|
|
|
|
class Foo {
|
|
|
|
public static void main(@Nullable Boolean hasMissingGems, List<String> missing) {
|
|
if (hasMissingGems != null && hasMissingGems) {
|
|
return;
|
|
}
|
|
|
|
if (hasMissingGems == null && missing.size() > 0) {
|
|
|
|
}
|
|
|
|
}
|
|
public static void main2(@Nullable Boolean hasMissingGems, List<String> missing) {
|
|
if ((hasMissingGems != null && hasMissingGems) || (hasMissingGems == null && missing.size() > 0)) {
|
|
|
|
}
|
|
|
|
}
|
|
public static void main3(Boolean b) {
|
|
if (b == Boolean.FALSE) {
|
|
System.out.println();
|
|
} else if (b == Boolean.TRUE) {
|
|
System.out.println();
|
|
}
|
|
}
|
|
|
|
} |