Thank you for the response. I am trying to iterate over all the members in a class and get the associated annotations. I have specified the annotation with Runtime AnnotationRetention and AnnotationTarget.Field. However when i get annotation the annotation the array is always empty.