NamedScope[] () { final NamedScope[] model = super.createModel(); final ArrayList<NamedScope> filteredScopes = new ArrayList<>(Arrays.asList(model)); CustomScopesProviderEx.filterNoSettingsScopes(myProject, filteredScopes); return filteredScopes.toArray(NamedScope.EMPTY_ARRAY); }