void () { Consumer<String> checkGetClassPresent = text -> { myFixture.configureByText("a.java", text); myFixture.completeBasic(); myFixture.assertPreferredCompletionItems(0, "getClass"); }; checkGetClassPresent.accept("class C extends Unresolved {{ getCl<caret>x }}"); checkGetClassPresent.accept("class C implements Unresolved {{ getCl<caret>x }}"); checkGetClassPresent.accept("class C extends Unresolved implements Runnable {{ getCl<caret>x }}"); checkGetClassPresent.accept("class C extends Unresolved1 implements Unresolved2 {{ getCl<caret>x }}"); }