addAnnotation</span><wbr><span class="parameters">(<a href="../../../../lang/model/AnnotationInfo.html" title="interface in jakarta.enterprise.lang.model">AnnotationInfo</a>&nbsp;annotation)</span></div>
<div class="block">Adds given annotation to this class. The <a href="../../../../lang/model/AnnotationInfo.html" title="interface in jakarta.enterprise.lang.model"><code>AnnotationInfo</code></a> can be obtained
 from an annotation target, or constructed from scratch using <a href="AnnotationBuilder.html" t