mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-02 09:22:02 +07:00
GitOrigin-RevId: cf9655e7988dc4187a737cb4d499a1bd9cf3d45c
12 lines
204 B
Java
12 lines
204 B
Java
// "Replace 'n' with pattern variable" "true"
|
|
class X {
|
|
void test(Object obj) {
|
|
while (obj instanceof Node n) {
|
|
obj = n.getNext();
|
|
}
|
|
}
|
|
|
|
interface Node {
|
|
Object getNext();
|
|
}
|
|
} |