@Nullable
  private static String getJavaVersion(@Nullable JavaVersion javaVersion) {
    return javaVersion == null ? null : javaVersion.name();
  }
@Nullable
  private static String getJavaVersion(@Nullable JavaVersion javaVersion)