private static @Nullable String _getInfo(PsiElement psiElement) {
    if (!(psiElement instanceof PsiFile psiFile) || !(psiElement.isPhysical())) {
      return null;
    }

    FileLookupInfoProvider provider =
      ContainerUtil.find(FileLookupInfoProvider.EP_NAME.getExtensionList(),
                         p -> ArrayUtil.find(p.getFileTypes(), psiFile.getFileType()) != -1);

    if (provider != null) {
      VirtualFile virtualFile = psiFile.getVirtualFile();
      if (virtualFile != null) {
        Pair<String, String> info = provider.getLookupInfo(virtualFile, psiElement.getProject());
        return Pair.getSecond(info);
      }
    }

    return null;
  }
private static @Nullable String _getInfo(PsiElement psiElement)