="notes">
<dt>Returns:</dt>
<dd>this type, 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="#isType()"><code>isType()</code></a> returns <code>false</code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasAnnotation(java.lang.Class)">
<h3>hasAnnotation</h3>
<div class="mem