xternal-link">IllegalStateException</a></code> - if called outside of the observer method invocation</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addAnnotatedType(java.lang.Class,java.lang.String)">
<h3>addAnnotatedType</h3>
<div class="member-signature"><span class="type-parameters">&lt;T&gt;</span>&nbsp;<span class="return-type"><a href="configurator/AnnotatedTypeConfigurator.html" title="interface in jakarta.enterprise.inject.spi.configurator">AnnotatedTypeConfigurator</a>&lt;T&gt;</span>