protected Collection<? extends AnnotationMirror> replacePolyAll(Collection<? extends AnnotationMirror> annos){
  Set<AnnotationMirror> returnAnnos=AnnotationUtils.createAnnotationSet();
  for (  AnnotationMirror top : getTopAnnotations()) {
    AnnotationMirror annotationInHierarchy=findAnnotationInHierarchy(annos,top);
    if (annotationInHierarchy != null) {
      returnAnnos.add(annotationInHierarchy);
    }
  }
  return returnAnnos;
}

protected Collection < ? extends AnnotationMirror > replacePolyAll ( Collection < ? extends AnnotationMirror > annos ) { Set < AnnotationMirror > returnAnnos = AnnotationUtils . createAnnotationSet ( ) ; for ( AnnotationMirror top : getTopAnnotations ( ) ) { AnnotationMirror annotationInHierarchy = findAnnotationInHierarchy ( annos , top ) ; if ( annotationInHierarchy != null ) { returnAnnos . add ( annotationInHierarchy ) ; } } return returnAnnos ; }
returns a new set that is the passed set , but polyall has been replaced by a polymorphic qualifiers , for hierarchies that do not have an annotation in the set .
