Parameters:</span></dt>
<dd><code>type</code> - the new <a href="AnnotatedType.html" title="interface in jakarta.enterprise.inject.spi"><code>AnnotatedType</code></a> object to use</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 called outside of the observer method invo