code: static List<Annotation> getAnnotations(AnnotatedElement element, EnumSet<FindOption> findOptions) {
          return getAnnotations(element, findOptions, annotation -> true);
      }
docs: Returns all annotations searching from the specified {@code element}. The search range depends on
  the specified {@link FindOption}s.
  
  @param element the {@link AnnotatedElement} to find annotations
  @param findOptions the options to be applied when retrieving annotations