@Nullable
    static <T extends Annotation> T findFirstDeclared(AnnotatedElement element,
                                                      Class<T> annotationType) {
        final List<T> found = findDeclared(element, annotationType);
        return found.isEmpty() ? null : found.get(0);
    }
Returns an annotation of the {@code annotationType} if it is found from the specified {@code element}.
Otherwise, the {@code null} will be returned.

<p>Note that this method will <em>not</em> find annotations from both the super classes of
the {@code element} and the meta-annotations.

@param element the {@link AnnotatedElement} to find the first annotation
@param annotationType the type of the annotation to find
core/src/main/java/com/linecorp/armeria/internal/server/annotation/AnnotationUtil.java