Gets the instance of a declared annotation.
an instance of the T annotation.
the exact type of the annotation.
if unable to get the instance due to a type mismatch.