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