se.inject.spi"><code>Interceptor</code></a> or <a href="../../../decorator/Decorator.html" title="annotation interface in jakarta.decorator"><code>Decorator</code></a>.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>bean</code> - The bean to add to the deployment</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateException.html" title="class or interface in java.lang" class="external-link">IllegalStateException</a></code> - if