mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-02 14:38:30 +07:00
GitOrigin-RevId: cf9655e7988dc4187a737cb4d499a1bd9cf3d45c
13 lines
237 B
Java
13 lines
237 B
Java
// "Replace 'n' with pattern variable" "true"
|
|
class X {
|
|
void test(Object obj) {
|
|
while (!(obj instanceof Node n)) {
|
|
obj = getNext();
|
|
}
|
|
System.out.println(n);
|
|
}
|
|
|
|
native Object getNext();
|
|
|
|
interface Node {}
|
|
} |