void () { disableVirtualComma(); configureJava(""" class C { int some(int from, int to) { return 0; } int some(int from, int to, int other) { return 0; } void m() { s<caret> } }"""); complete("some(int from, int to, int other)"); checkResultWithInlays(""" class C { int some(int from, int to) { return 0; } int some(int from, int to, int other) { return 0; } void m() { some(<HINT text="from:"/><caret>, <Hint text="to:"/>, <Hint text="other:"/>) } }"""); AutoPopupParameterInfoTestUtil.waitForAutoPopup(myFixture.getProject()); showParameterInfo(); checkHintContents(""" <html><b>int from</b>, int to</html> - [<html><b>int from</b>, int to, int other</html>]"""); methodOverloadDown(); waitForAllAsyncStuff(); checkResultWithInlays(""" class C { int some(int from, int to) { return 0; } int some(int from, int to, int other) { return 0; } void m() { some(<HINT text="from:"/><caret>, <Hint text="to:"/>) } }"""); checkHintContents(""" [<html><b>int from</b>, int to</html>] - <html><b>int from</b>, int to, int other</html>"""); }