ion&#8203;(java.lang.Class&lt;? extends java.lang.annotation.Annotation&gt;&nbsp;annotationType)</pre>
<div class="block">Adds a marker annotation of given type to this field.
 Does not allow configuring annotation members.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></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