mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
inplace introducer: another case to restore expression (IDEA-113352)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
class C {
|
||||
static enum E {
|
||||
A
|
||||
}
|
||||
|
||||
void x(String s1, String s2) {}
|
||||
|
||||
private void y() {
|
||||
x(E.A.toString(), E.<caret>A.toString());
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
class C {
|
||||
static enum E {
|
||||
A
|
||||
}
|
||||
|
||||
void x(String s1, String s2) {}
|
||||
|
||||
private void y(E a) {
|
||||
x(a.toString(), a.toString());
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user