question: public static boolean containsSame ( Collection < ? extends AnnotationMirror > c , AnnotationMirror anno ) { for ( AnnotationMirror an : c ) { if ( AnnotationUtils . areSame ( an , anno ) ) { return true ; } } return false ; }
target:  Checks that the collection contains the annotation. Using Collection.contains does not always work, because it does not use areSame for comparison.