Annotation restriction is not respected while generating Annotation via TH