Using the method "GetAnnotation" instead of "getDeclaredAnnotations".

Using the method "GetAnnotation" instead of "getDeclaredAnnotations".