getAnnotation
Retrieves an annotation from the function's accessor using reflection.
Return
the annotation instance if present, null otherwise
Parameters
annotationClass
the class of the annotation to retrieve
Type Parameters
A
the annotation type