To remove annotation equal to a specified object:
 (a) -&gt; a.equals(fooAnnotation)
 
 // To remove annotations that are considered equivalent for the purposes of typesafe resolution:
 (a) -&gt; beanManager.areQualifiersEquivalent(a, fooQualifier)
 (a) -&gt; beanManager.areInterceptorBindingsEquivalent(a, fooInterceptorBinding)
 </code>
 </pre></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>predicate</code> - <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/P