void () { configureJava("class C { int mmm(short a, int b, long c){ return 0; } void m() { mm<caret> } }"); complete(); waitForAllAsyncStuff(); checkResultWithInlays("class C { int mmm(short a, int b, long c){ return 0; } void m() { mmm(<HINT text=\"a:\"/><caret><Hint text=\",b:\"/><Hint text=\",c:\"/>) } }"); checkHintContents("<html><b>short</b></html>"); next(); waitForAllAsyncStuff(); checkResultWithInlays("class C { int mmm(short a, int b, long c){ return 0; } void m() { mmm(<Hint text=\"a:\"/>, <HINT text=\"b:\"/><caret><Hint text=\",c:\"/>) } }"); checkHintContents("<html><b>int</b></html>"); next(); waitForAllAsyncStuff(); checkResultWithInlays("class C { int mmm(short a, int b, long c){ return 0; } void m() { mmm(<Hint text=\"a:\"/>, <Hint text=\"b:\"/>, <HINT text=\"c:\"/><caret>) } }"); checkHintContents("<html><b>long</b></html>"); next(); waitForAllAsyncStuff(); checkResultWithInlays("class C { int mmm(short a, int b, long c){ return 0; } void m() { mmm(<hint text=\"a:\"/>, <hint text=\"b:\"/>, <hint text=\"c:\"/>)<caret> } }"); checkHintContents(null); prev(); waitForAllAsyncStuff(); checkResultWithInlays("class C { int mmm(short a, int b, long c){ return 0; } void m() { mmm(<Hint text=\"a:\"/>, <Hint text=\"b:\"/>, <HINT text=\"c:\"/><caret>) } }"); checkHintContents("<html><b>long</b></html>"); prev(); waitForAllAsyncStuff(); checkResultWithInlays("class C { int mmm(short a, int b, long c){ return 0; } void m() { mmm(<Hint text=\"a:\"/>, <HINT text=\"b:\"/><caret><Hint text=\",c:\"/>) } }"); checkHintContents("<html><b>int</b></html>"); prev(); waitForAllAsyncStuff(); checkResultWithInlays("class C { int mmm(short a, int b, long c){ return 0; } void m() { mmm(<HINT text=\"a:\"/><caret><Hint text=\",b:\"/><Hint text=\",c:\"/>) } }"); checkHintContents("<html><b>short</b></html>"); }