code: def main():
      bi.init("Java", "java")
      schemas_map = bi.schemas_map(add_generics=True)
  
      for name, schema in schemas_map.items():
          bi.vprint("Generating schema: " + name)
          bi.write_to_file(
              "water/bindings/pojos/%s.java" % name,
              generate_schema(name, schema),
          )
  
      for name, values in bi.enums().items():
          bi.vprint("Generating enum: " + name)
          bi.write_to_file(
              "water/bindings/pojos/%s.java" % name,
              generate_enum(name, sorted(values)),
          )
  
      for name, endpoints in bi.endpoint_groups().items():
          if name != "SegmentModelsBuilders":
              bi.vprint("Generating proxy: " + name)
              bi.write_to_file(
                  "water/bindings/proxies/retrofit/%s.java" % name,
                  generate_proxy(name, endpoints),
              )
  
      bi.vprint("Generating H2oApi.java")
      bi.write_to_file(
          "water/bindings/H2oApi.java",
          generate_main_class(bi.endpoints()),
      )
  
      type_adapter.vprint_translation_map()
  
file_path: h2o-3/h2o-bindings/bin/gen_java.py
imports: import re
  import textwrap
  import bindings
label_desc: Use image node_id 9 for calling a global function with example usage: main() without return types