Set<String> (@NotNull List<? extends PsiElement> elements) { Set<String> dialectIds = new HashSet<>(); Set<Language> processedLanguages = new HashSet<>(); addDialects(elements, processedLanguages, dialectIds); return dialectIds; }