code: public static List<ModelAnnotation> buildAnnotationList(final Element element, final AnnotationFilter filter) {
  		final List<ModelAnnotation> annotationList=new ArrayList<>();
  		
  		forEachAnnotations(element, filter, new AnnotationFoundListener() {
  
  			@Override
  			public void onAcceptAnnotation(Element executableMethod, String annotationClassName, Map<String, String> attributes) {
  				ModelAnnotation annotation = new ModelAnnotation(annotationClassName, attributes);
  				
  				annotationList.add(annotation);
  			}
  		});
  		
  		return annotationList;
  	}
docs: Builds the annotation list.
  
  @param element the element
  @param filter the filter
  @return the list