List<SearchEverywhereCommandInfo> () { List<SearchEverywhereCommandInfo> res = new ArrayList<>(); final HashSet<String> found = new HashSet<>(); for (SearchTopHitProvider provider : SearchTopHitProvider.EP_NAME.getExtensions()) { if (provider instanceof OptionsSearchTopHitProvider) { final String providerId = ((OptionsSearchTopHitProvider)provider).getId(); if (!found.contains(providerId)) { found.add(providerId); res.add(new SearchEverywhereCommandInfo(providerId, "", this)); } } } return res; }