void () { configure(); myFixture.assertPreferredCompletionItems(0, "public", "public int getFinalField"); assertFalse(ContainerUtil.exists(myFixture.getLookupElements(), it -> it.getLookupString().equals("public void setFinalField"))); assertFalse(ContainerUtil.exists(myFixture.getLookupElements(), it -> it.getLookupString().equals("public int getCONSTANT"))); }