@SuppressWarnings({"rawtypes", "unchecked"})
  @Override
  public U negate() {
    if (isInfinity()) {
      return (U) this;
    }

    return newInstance(x, y.negate());
  }
New instance of generic type U.

@param x the x
@param y the y
@return the U
crypto/algorithms/src/main/java/org/hyperledger/besu/crypto/altbn128/AbstractFieldPoint.java