private static String getModuleNameForDocumentationUrl(@NotNull PsiElement element, @Nullable PsiElement originalElement) {
    QualifiedName qName = QualifiedNameFinder.findCanonicalImportPath(element, originalElement);

    return qName != null ? getModuleName(qName.toString()) : "";
  }
private static String getModuleNameForDocumentationUrl(@NotNull PsiElement element, @Nullable PsiElement originalElement)