void () { disableVirtualComma(); CodeInsightSettings.getInstance().SHOW_PARAMETER_NAME_HINTS_ON_COMPLETION = false; configureJava(""" class C {\s void something() {} void some(int begin) {} void some(int begin, int end) {} void m() { som<caret> } }"""); complete("some(int begin)"); waitForAllAsyncStuff(); checkResultWithInlays(""" class C {\s void something() {} void some(int begin) {} void some(int begin, int end) {} void m() { some(<caret>); } }"""); type("0, 1"); home(); waitForAllAsyncStuff(); checkResultWithInlays(""" class C {\s void something() {} void some(int begin) {} void some(int begin, int end) {} <caret>void m() { some(0, 1); } }"""); }