code: public List<E> createAll(AnnotatedElement element) {
      List<E> result = new ArrayList<>();
      for (Annotation annotation : element.getAnnotations()) {
        create(annotation).ifPresent(result::add);
      }
      return result;
    }
docs: Creates a list of components based on the annotations of the given element.
  
  @param element the element to search for annotations
  @return a list of all components that can be instantiated from the
  annotations present in the given element.
  @see #create(java.lang.annotation.Annotation)