private synchronized static void loadNativeLibrary() {
    if (sJniLibLoadAttempted) {
      // Already attempted to load, nothing to do here.
      return;
    }
    try {
      var libFile = getLibLocation();
      if (libFile == null) throw new UnsatisfiedLinkError("WebP JNI binding is missing");
      if (!Files.exists(libFile)) throw new UnsatisfiedLinkError(String.format("'%1$s' does not exist", libFile));
      System.load(libFile.toString());
    }
    finally {
      sJniLibLoadAttempted = true;
    }
    sJniLibLoaded = true;
  }
private synchronized static void loadNativeLibrary()