code: private static Geometry splitPolygonWithLine(Polygon polygon, LineString lineString) throws SQLException {
          Collection<Polygon> pols = polygonWithLineSplitter(polygon, lineString);
          if (pols != null) {
              return FACTORY.buildGeometry(polygonWithLineSplitter(polygon, lineString));
          }
          return null;
      }
docs: Splits a Polygon using a LineString.
  
  @param polygon
  @param lineString
  @return