/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a>&lt;<a href="AnnotationInfo.html" title="interface in jakarta.enterprise.lang.model">AnnotationInfo</a>&gt;</span>&nbsp;<span class="element-name">annotations</span>()</div>
<div class="block">Returns a collection of all annotations present on this annotation target.
 Returns an empty collection if no annotation is present.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>i