Collection<NamedScope> (Project project) { final Collection<NamedScope> result = new ArrayList<>(); result.addAll(NamedScopeManager.getInstance(project).getPredefinedScopes()); result.addAll(DependencyValidationManager.getInstance(project).getPredefinedScopes()); return result; }