public @NotNull Collection<Language> getMatchingLanguages() {
    List<Language> result = new ArrayList<>();
    for (Language t : Language.getRegisteredLanguages()) {
      if (matchesLanguage(t)) {
        result.add(t);
      }
    }
    return result;
  }
public @NotNull Collection<Language> getMatchingLanguages()