public static Language @NotNull [] getAvailableLanguages() {
    synchronized (InjectedLanguage.class) {
      if (ourLanguageCache == null || ourLanguageCount != Language.getRegisteredLanguages().size()) {
        initLanguageCache();
      }
      return new HashSet<>(ourLanguageCache.values()).toArray(Language[]::new);
    }
  }
public static Language @NotNull [] getAvailableLanguages()