void () { myFixture.configureByText("a.java", "class A {\n {\n pass<caret>Class(String.class)\n }\n}\n"); TemplateManagerImpl.setTemplateTesting(getTestRootDisposable()); CodeInsightSettings.getInstance().setSelectAutopopupSuggestionsByChars(true); try { doAction("Create method 'passClass' in 'A'"); myFixture.type("\t"); myFixture.type("Class<?>\n"); myFixture.checkResult(""" class A { { passClass(String.class) } private void passClass(Class<?> <selection>stringClass</selection>) { } } """); } finally { CodeInsightSettings.getInstance().setSelectAutopopupSuggestionsByChars(false); } }