@Internal
  public static @Nullable PsiElement getTargetElementFromLookup(Project project) {
    Lookup activeLookup = LookupManager.getInstance(project).getActiveLookup();
    if (activeLookup != null) {
      LookupElement item = activeLookup.getCurrentItem();
      PsiElement psi = targetElementFromLookupElement(item);
      if (psi != null) return psi;
    }
    return null;
  }
@Internal
  public static @Nullable PsiElement getTargetElementFromLookup(Project project)