PsiElement (PyImportElement importElement, @NotNull final QualifiedName qName) { final List<RatedResolveResult> resultList = RatedResolveResult.sorted(multiResolveImportElement(importElement, qName)); return resultList.size() > 0 ? resultList.get(0).getElement() : null; }