code: private static MultiPolygon convertMultiPolygon(JGeometry geometry) {
          JGeometry[] elements = geometry.getElements();
          if (elements == null || elements.length == 0) {
              return MultiPolygon.createEmpty();
          }
          Polygon[] polygons = new Polygon[elements.length];
          for (int i = 0; i < elements.length; i++) {
              polygons[i] = convertPolygon(elements[i]);
          }
          return new MultiPolygon(polygons);
      }
docs: FIXME