private static <T extends AnnotatedElement> List<AnnotatedElement> convertToAnnotatedElements(
            List<T> elements) {
        return (List<AnnotatedElement>) elements;
    }
Collects the list of {@link AnnotatedElement}s which are to be used to find annotations.
core/src/main/java/com/linecorp/armeria/internal/server/annotation/AnnotationUtil.java