public static @Nullable File getMavenHomeFile(@NotNull StaticResolvedMavenHomeType mavenHome) {
    if (mavenHome instanceof MavenInSpecificPath mp) {
      File file = new File(mp.getMavenHome());
      return isValidMavenHome(file) ? file : null;
    }
    for (MavenVersionAwareSupportExtension e : MavenVersionAwareSupportExtension.MAVEN_VERSION_SUPPORT.getExtensionList()) {
      File file = e.getMavenHomeFile(mavenHome);
      if (file != null) return file;
    }
    return null;
  }
public static @Nullable File getMavenHomeFile(@NotNull StaticResolvedMavenHomeType mavenHome)