mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
26 lines
523 B
Java
26 lines
523 B
Java
import org.jetbrains.annotations.Nullable;
|
|
|
|
import java.util.List;
|
|
|
|
public class Test {
|
|
|
|
public Test(Object o1, Object o2) {
|
|
}
|
|
|
|
private Object test(List<String> list) {
|
|
Test x = newMethod(list);
|
|
if (x != null) return x;
|
|
return null;
|
|
}
|
|
|
|
@Nullable
|
|
private Test newMethod(List<String> list) {
|
|
for (String some : list) {
|
|
String x = "x";
|
|
String y = "y";
|
|
if (some.isEmpty()) return new Test(x, y);
|
|
}
|
|
return null;
|
|
}
|
|
|
|
} |