@Override
      public Icon getIcon(Language language) {
        if (iconProvider != null) return iconProvider.apply(language);
        LanguageFileType fileType = language.getAssociatedFileType();
        Icon icon = fileType == null ? null : fileType.getIcon();
        return icon != null ? icon : AllIcons.FileTypes.Any_type;
      }
@Override
      public Icon getIcon(Language language)