void () { myFixture.configureByText("a.java", """ interface I<T> { } class J<T> implements I<T> { void test(I<String> i) { if (i instanceof <caret>) } }"""); myFixture.completeBasic(); assert !myFixture.getLookupElementStrings().contains("T"); myFixture.type("\n"); myFixture.checkResult(""" interface I<T> { } class J<T> implements I<T> { void test(I<String> i) { if (i instanceof J<String><caret>) } }"""); }