void () { disableVirtualComma(); configureJava("class C { void vararg(Object a, int... b) {} void m() { varar<caret> } }"); complete(); checkResultWithInlays("class C { void vararg(Object a, int... b) {} void m() { vararg(<HINT text=\"a:\"/><caret><Hint text=\",b:\"/>); } }"); type("new "); waitForAllAsyncStuff(); checkResultWithInlays("class C { void vararg(Object a, int... b) {} void m() { vararg(<HINT text=\"a:\"/>new <caret><Hint text=\",b:\"/>); } }"); }