

def link_references(self, progress_monitor=NullProgressMonitor(), local_object_id=None):
    unknown_refs = self._get_query(self.unknown_kind, local_object_id)
    ucount = unknown_refs.count()
    progress_monitor.info('Unknown reference count: {0}'.format(ucount))
    try:
        self._link_all_references(queryset_iterator(unknown_refs), ucount, progress_monitor)
    except Exception:
        logger.exception('Error while processing unknown references.')
    call_gc()

dataset/ETHPy150Open bartdag/recodoc2/recodoc2/apps/codebase/linker/java_linkers.py JavaGenericLinker.link_references/original