@Nullable public static ParameterInfoHandler[] getHandlers(Project project, final Language... languages) { Set<ParameterInfoHandler> handlers = new THashSet<ParameterInfoHandler>(); for (final Language language : languages) { handlers.addAll(DumbService.getInstance(project).filterByDumbAwareness(LanguageParameterInfo.INSTANCE.allForLanguage(language))); } if (handlers.isEmpty()) return null; return handlers.toArray(new ParameterInfoHandler[handlers.size()]); }