mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 00:50:53 +07:00
19 lines
376 B
Java
19 lines
376 B
Java
import org.jetbrains.annotations.Nullable;
|
|
|
|
class C {
|
|
public Object m() {
|
|
Object o = newMethod();
|
|
if (o != null) return o;
|
|
return null;
|
|
}
|
|
|
|
@Nullable
|
|
private Object newMethod() {
|
|
for (Object o : new ArrayList<Object>()) {
|
|
if (o != null) {
|
|
return o;
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
} |