.spi">InjectionPoint</a>&nbsp;injectionPoint)</pre>
<div class="block">Replaces the InjectionPoint.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>injectionPoint</code> - the new injection point</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalStateException</a></code> - if c