String (@NotNull LookupElement le) { PsiElement element = le.getPsiElement(); if (element instanceof PyQualifiedNameOwner) { return ((PyQualifiedNameOwner)element).getQualifiedName(); } else if (element instanceof PsiFileSystemItem) { return Objects.toString(QualifiedNameFinder.findShortestImportableQName((PsiFileSystemItem)element)); } return null; }