Files
openide/java/java-tests/testData/refactoring/introduceVariable/AnonymousClass6.after.java
T
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

14 lines
245 B
Java

class Bug {
Bug(String s) {}
void m(String s) {
final String str = s.substring(1);
new Bug(str) {
@Override
public String toString() {
return str;
}
};
}
}