public static boolean isFileLanguage(@NotNull Language language) {
    if (language instanceof DependentLanguage ||
        language instanceof InjectableLanguage ||
        LanguageParserDefinitions.INSTANCE.forLanguage(language) == null) {
      return false;
    }

    LanguageFileType type = language.getAssociatedFileType();
    return type != null && !Strings.isEmpty(type.getDefaultExtension());
  }
public static boolean isFileLanguage(@NotNull Language language)