Set<ExpressionTypeProvider> (final Project project, Language... languages) { DumbService dumbService = DumbService.getInstance(project); return JBIterable.of(languages).flatten( language -> dumbService.filterByDumbAwareness(LanguageExpressionTypes.INSTANCE.allForLanguage(language))).addAllTo( new LinkedHashSet<>()); }