mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
10 lines
167 B
Java
10 lines
167 B
Java
class Foo {
|
|
interface X {
|
|
X getParent();
|
|
}
|
|
|
|
void test(X x1, X x2, boolean b) {
|
|
<caret>X x = b ? x1 : x2;
|
|
x = x.getParent();
|
|
}
|
|
} |