Files
openide/java/java-tests/testData/refactoring/introduceVariable/AnonymousClass6.java
Anna Kozlova fb3295db37 introduce variable/occurrences: allow to walk up through anonymous
the current behavior is not transitive as occurrences inside anonymous when selected outside were detected (IDEA-174339)
2017-06-15 13:52:55 +03:00

13 lines
247 B
Java

class Bug {
Bug(String s) {}
void m(String s) {
new Bug(s.substring(1)) {
@Override
public String toString() {
return <selection>s.substring(1)</selection>;
}
};
}
}