code: def class_name_for_annotation_type(annotation_type, ns=None):
      
      assert isinstance(annotation_type, AnnotationType)
      name = fmt_class(annotation_type.name)
      if ns:
          return prefix_with_ns_if_necessary(name, annotation_type.namespace, ns)
      return name
docs: Same as class_name_for_data_type, but works with annotation types.