docs: def java_potential_term(mesh, instructions):
      '''
      java_potential_term(mesh, instructions) yields a Java object that implements the potential field
        described in the given list of instructions. Generally, this should not be invoked directly
        and should only be called by mesh_register. Note: this expects a single term's description,
        not a series of descriptions.
      '''
      faces  = to_java_ints(mesh.indexed_faces)
      edges  = to_java_ints(mesh.indexed_edges)
      coords = to_java_doubles(mesh.coordinates)
      return _parse_field_arguments([instructions], faces, edges, coords)