code: def _generate_annotation_type_class(self, ns, annotation_type):
          # type: (ApiNamespace, AnnotationType) -> None
          
          self.emit('class {}(object):'.format(class_name_for_annotation_type(annotation_type, ns)))
          with self.indent():
              self._generate_annotation_type_class_init(ns, annotation_type)
              self._generate_annotation_type_class_properties(ns, annotation_type)
          self.emit()
docs: Defines a Python class that represents an annotation type in Stone.