="../../../../../inject/Scope.html" title="annotation interface in jakarta.inject"><code>@Scope</code></a>.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>scopeAnnotation</code> - the scope annotation type, must not be <code>null</code></dd>
<dd><code>contextClass</code> - the context class, must not be <code>null</code></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.lan