annotation target as a <a href="declarations/DeclarationInfo.html" title="interface in jakarta.enterprise.lang.model.declarations">declaration</a>.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>this declaration, never <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/IllegalStateException.html" title="class or interface in java.lang" class="external-link">IllegalStateException</a></code> - if <a href="#isDeclaration()"><code>is