code: def fmt_type_name(data_type):
      
      if is_user_defined_type(data_type):
          return fmt_pascal('%s%s' % (data_type.namespace.name, data_type.name))
      else:
          fmted_type = _base_type_table.get(data_type.__class__, 'Object')
          if is_list_type(data_type):
              fmted_type += '.<' + fmt_type(data_type.data_type) + '>'
          return fmted_type
docs: Returns the JSDoc name for the given data type.
      (Does not attempt to enumerate subtypes.)