class GoogleJavaFormatToolProvider implements ToolProvider {
  @Override
  public String name() {
    return "google-java-format";
  }

  @Override
  public int run(PrintWriter out, PrintWriter err, String... args) {<FILL_FUNCTION_BODY>}
}

    try {
      return Main.main(System.in, out, err, args);
    } catch (RuntimeException e) {
      err.print(e.getMessage());
      err.flush();
      return 1; // pass non-zero value back indicating an error has happened
    }
  
<no_super_class>