@Override
  @Nls
  public String getLibraryVersion(final VirtualFile[] libraryFiles) {
    String jarVersion = JarVersionDetectionUtil.detectJarVersion(SOME_GROOVY_CLASS, Arrays.asList(libraryFiles));
    if (jarVersion != null) {
      return jarVersion;
    }
    String home = LibrariesUtil.getGroovyLibraryHome(libraryFiles);
    if (home == null) {
      return GroovyBundle.message("undefined.library.version");
    }
    String version = GroovyConfigUtils.getInstance().getSDKVersionOrNull(home);
    if (version == null) {
      return GroovyBundle.message("undefined.library.version");
    }
    return version;
  }
@Override
  @Nls
  public String getLibraryVersion(final VirtualFile[] libraryFiles)