docs: @Deprecated
      public static GeographyValue reverseLoops(GeographyValue goodPolygon) {
          List<List<GeographyPointValue>> newLoops = new ArrayList<>();
          List<List<GeographyPointValue>> oldLoops = goodPolygon.getRings();
          for (List<GeographyPointValue> loop : oldLoops) {
              // Copy loop, but reverse the points.
              List<GeographyPointValue> newLoop = new ArrayList<>();
              // Leave the first and last one fixed, but copy
              // all the others from the end.
              newLoop.add(loop.get(0));
              for (int idx = loop.size() - 2; idx > 1; idx -= 1) {
                  newLoop.add(loop.get(idx));
              }
              newLoops.add(newLoop);
          }
          return new GeographyValue(newLoops);
      }