void () { configureJava("class C { static { new HashM<caret> }}"); complete("HashMap"); checkResult("import java.util.HashMap;\n\nclass C { static { new HashMap<<caret>>()\n}}"); tabOut(); checkResult("import java.util.HashMap;\n\nclass C { static { new HashMap<>(<caret>)\n}}"); tabOut(); checkResult("import java.util.HashMap;\n\nclass C { static { new HashMap<>()<caret>\n}}"); }