code: def get_xrefs_list_from_element(cls, element):
          
  
          xref_items = element.XREFfrom.items
          log.debug("%d XREFs found" % len(xref_items))
          xrefs = []
          for xref_item in xref_items:
              class_ = xref_item[0].get_class_name()
              method_ = xref_item[0].get_name()
              descriptor_ = xref_item[0].get_descriptor()
              xrefs.append(classmethod2display(class_, method_, descriptor_))
          return xrefs
docs: Helper for get_xrefs_list
  
             element is a ClassDefItem or MethodDefItem
  
             At the end of the function, we lost if we worked on
             a class or method but we do not care for now.