public <A extends Annotation> A getAnnotation(final Class<A> annotationClass) {
            return AnnotatedElementUtils.findMergedAnnotation(apiMethod, annotationClass);
        }
Get the annotation from Method.

@param annotationClass annotationClass
@param <A>             annotationClass extends Annotation
@return annotation
shenyu-client/shenyu-client-core/src/main/java/org/apache/shenyu/client/core/register/ApiBean.java