blob: d803672ec784b000c6185c5f515705a881adc324 [file]
// "Replace 'n' with pattern variable" "true"
class X {
void test(Object obj) {
while (obj instanceof Node) {
Node <caret>n = (Node) obj;
obj = n.getNext();
}
}
interface Node {
Object getNext();
}
}