void () { JavaProjectCodeInsightSettings.setExcludedNames(getProject(), getTestRootDisposable(), "java.awt"); configureByTestName(); myFixture.assertPreferredCompletionItems(1, "List", "ArrayList", "AbstractList"); }