tion">Predicate</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>&gt;&nbsp;predicate)</pre>
<div class="block">Remove annotations that match the specified predicate.

 <p>
 Example predicates:
 </p>
 
 <pre>
  <code>
 // To remove all the annotations:
 (a) -&gt; true
 
 // To remove annotations with a concrete annotation type:
 (a) -&gt; a.annotationType().equals(Foo.class)
 
 // 