Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/moveParenthesis/beforeShiftLeft.java
Anna Kozlova 6a2a667f6b [java] show mismatch arg count error and highlight only additional arg (IDEA-282207)
fix ranges should be extended for the whole argList, otherwise only the first highlighting become fixes. It's possible to attach separated fixes though it may be more useful to have single fix over whole range, let's see

GitOrigin-RevId: a568d2633824abd7207fb3c54687b64588a43e62
2021-11-23 12:33:47 +00:00

14 lines
225 B
Java

// "Fix closing parenthesis placement" "true"
public class Example {
String foo(String s, boolean b) {
return s;
}
String bar(String s) {
return s;
}
void test() {
foo(bar("hello", t<caret>rue));
}
}