<div dir="ltr">Hi,<div><br></div><div>Wouldn&#39;t it be convenient as the CDI API that now requires an Annotation instance in various APIs, would also accept the class type of that Annotation?</div><div><br></div><div>E.g. in BeanManager there&#39;s this method:</div><div><br></div><div>Set&lt;Bean&lt;?&gt;&gt; getBeans(Type beanType, Annotation... qualifiers)</div><div><br></div><div>This not rarely requires one to create an AnnotationLiteral, which is not specifically difficult but a tad verbose. For qualifiers that have no (binding) attributes, a simple Class would be much easier to use.</div><div><br></div><div>Thoughts?</div><div><br></div><div>Kind regards,</div><div>Arjan Tijms</div></div>