static List<Annotation> getAnnotations(AnnotatedElement element, EnumSet<FindOption> findOptions) {
        return getAnnotations(element, findOptions, annotation -> true);
    }
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
core/src/main/java/com/linecorp/armeria/internal/server/annotation/AnnotationUtil.java