void (Project project, List<DependencySearchProvider> result) { List<MavenGAVIndex> remoteIndices = MavenIndicesManager.getInstance(project).getIndex().getGAVIndices(); for (MavenGAVIndex index : remoteIndices) { MavenRepositoryInfo repository = index.getRepository(); if (repository == null) continue; if (!repository.getName().toLowerCase(Locale.ROOT).contains("central") && !repository.getUrl().toLowerCase(Locale.ROOT).contains("repo.maven.apache.org/maven2")) { result.add(new IndexBasedCompletionProvider(index)); } } }