his method is intended to be the same behavior as <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/reflect/AnnotatedElement.html#getAnnotation(java.lang.Class)" title="class or interface in java.lang.reflect" class="external-link"><code>AnnotatedElement.getAnnotation(Class)</code></a>,
 where repeatable annotations are not supported.
 </p></div>
<dl class="notes">
<dt>Type Parameters:</dt>
<dd><code>T</code> - the type of the annotation</dd>
<dt>Parameters:</dt>
<dd><code>anno