// "Replace 'n' with pattern variable" "true" class X { void test(Object obj) { while (obj instanceof Node) { Node n = (Node) obj; obj = n.getNext(); } } interface Node { Object getNext(); } }