private static @Nullable String parseVersionFromConfig(@NotNull Path configDir) {
    String nameWithVersion = getNameWithVersion(configDir);
    Matcher m = matchNameWithVersion(nameWithVersion);
    String version = null;
    if (m.matches()) {
      version = m.group(1);
    }
    return version;
  }
private static @Nullable String parseVersionFromConfig(@NotNull Path configDir)