mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
1. Do not add parentheses left to caret 2. Use LongRangeSet to add parentheses at valid overload positions 3. Support vararg methods 4. Filter by outer method call arguments range 5. Do not try to fix anything in already valid inner calls Fixes IDEA-264821 Complete current statement: wrong choice for missing bracket GitOrigin-RevId: d637703725e9e67ddb83e67a1e05d95d7fc4c1fe
11 lines
226 B
Java
11 lines
226 B
Java
public class Foo {
|
|
public Foo(String a) {
|
|
}
|
|
|
|
public Foo(String a, String b, String c) {
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
Arrays.asList(new Foo(<caret>"a", new Foo("b"), new Foo("c"), new Foo("d")
|
|
}
|
|
} |