mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +07:00
14 lines
264 B
Java
14 lines
264 B
Java
// "Replace 'n' with pattern variable" "true"
|
|
class X {
|
|
void test(Object obj) {
|
|
while (!(obj instanceof Node)) {
|
|
obj = getNext();
|
|
}
|
|
Node <caret>n = (Node)obj;
|
|
System.out.println(n);
|
|
}
|
|
|
|
native Object getNext();
|
|
|
|
interface Node {}
|
|
} |