acle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a>&lt;T&gt;&nbsp;annotationType)</span></div>
<div class="block">Returns an annotation of given type, if it is present on this annotation target.
 Returns <code>null</code> if no such annotation is present.</div>
<dl class="notes">
<dt>Type Parameters:</dt>
<dd><code>T</code> - the annotation generic type</dd>
<dt>Parameters:</dt>
<dd><code>annotationType</code> - the anno