> is <a href="BoundType.html#NONE"><code>BoundType.NONE</code></a></dd>
<dd><code>newUpperBoundType</code> - type of bound for <code>newUpperBound</code>, or <a href="BoundType.html#NONE"><code>BoundType.NONE</code></a> if there is no upper bound</dd>
<dt>Returns:</dt>
<dd>instance with new upper bound</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="external-link">Ill