void () { disableVirtualComma(); configureJava("class C { void m() { System.setPro<caret> } }"); complete("setProperty"); waitForAllAsyncStuff(); type("System.getPro"); complete("getProperty(String key, String def)"); waitForAllAsyncStuff(); checkResultWithInlays("class C { void m() { System.setProperty(<hint text=\"key:\"/>System.getProperty(<HINT text=\"key:\"/><caret>, <Hint text=\"def:\"/>), <hint text=\"value:\"/>) } }"); next(); waitForAllAsyncStuff(); checkResultWithInlays("class C { void m() { System.setProperty(<hint text=\"key:\"/>System.getProperty(<Hint text=\"key:\"/>, <HINT text=\"def:\"/><caret>), <hint text=\"value:\"/>) } }"); next(); waitForAllAsyncStuff(); checkResultWithInlays("class C { void m() { System.setProperty(<HINT text=\"key:\"/>System.getProperty(<hint text=\"key:\"/>, <hint text=\"def:\"/>)<caret>, <Hint text=\"value:\"/>) } }"); left(); waitForAllAsyncStuff(); checkResultWithInlays("class C { void m() { System.setProperty(<hint text=\"key:\"/>System.getProperty(<Hint text=\"key:\"/>, <HINT text=\"def:\"/><caret>), <hint text=\"value:\"/>) } }"); }