link">Annotation</a>&gt;&nbsp;annotationType)</span></div>
<div class="block">Adds a marker annotation of given type to this class.
 Does not allow configuring annotation members.</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="DeclarationConfig.html#addAnnotation(java.lang.Class)">addAnnotation</a></code>&nbsp;in interface&nbsp;<code><a href="DeclarationConfig.html" title="interface in jakarta.enterprise.inject.build.compatible.spi">DeclarationConfig</a></code></dd>
<dt>Parameters:</dt>
