mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
31 lines
406 B
Java
31 lines
406 B
Java
import org.jetbrains.annotations.NotNull;
|
|
|
|
class X {
|
|
@NotNull
|
|
public X fun1(int x) {
|
|
return this;
|
|
}
|
|
|
|
public X fun2(boolean b) {
|
|
|
|
<selection>if (b) {
|
|
int x = 1;
|
|
return fun1(x);
|
|
}</selection>
|
|
|
|
int x = 0;
|
|
return null;
|
|
}
|
|
|
|
|
|
|
|
|
|
void foo(int i, int j) {
|
|
bar(i, j);
|
|
}
|
|
|
|
private void bar(int i, int j) {
|
|
|
|
}
|
|
}
|