@Override
    public <A extends Annotation> A getAnnotation(Class<A> annotationClass) {
        return method.getAnnotation(annotationClass);
    }
@ Override public < A extends Annotation > A getAnnotation ( Class < A > annotationClass ) { return method . getAnnotation ( annotationClass ) ; }
Lookup a method annotation.

@param annotationClass the annotation class.
@return the annotation object or {@literal null} if not found.