Type cast for Annotation return value