@Nullable
  private static QualifiedName findCanonicalImportPath(@NotNull PyElement element,
                                                       @NotNull QualifiedName moduleQualifiedName,
                                                       @NotNull PsiFile currentFile) {
    QualifiedName canonicalImportPath;
    if (moduleQualifiedName.getComponentCount() != 1) {
      canonicalImportPath = QualifiedNameFinder.findCanonicalImportPath(element, currentFile);
    }
    else {
      canonicalImportPath = QualifiedNameFinder.canonizeQualifiedName(element, moduleQualifiedName, currentFile);
    }
    return canonicalImportPath;
  }
@Nullable
  private static QualifiedName findCanonicalImportPath(@NotNull PyElement element,
                                                       @NotNull QualifiedName moduleQualifiedName,
                                                       @NotNull PsiFile currentFile)