SortContentAction: add parens handling for enum expressions

This commit is contained in:
Roman.Ivanov
2018-07-26 14:49:59 +07:00
parent 23630af7b5
commit 16e9fb30d3
3 changed files with 14 additions and 7 deletions
@@ -8,6 +8,7 @@ public class Main {
private static void foo(String a, E... vararg) {}
private void test() {
foo("bar", E.A, E.A, E.B, E.C, E.D);
foo("bar", E.A, E.A, ((E.B) //
), E.C, (/**/E.D));
}
}
@@ -8,6 +8,7 @@ public class Main {
private static void foo(String a, E... vararg) {}
private void test() {
foo("bar", E.B, E.A,<caret> E.C, E.D, E.A);
foo("bar", ((E.B) //
), E.A,<caret> E.C, (/**/E.D), E.A);
}
}