public static @NotNull LookupElementBuilder create(@NotNull PsiNamedElement element) {
    PsiUtilCore.ensureValid(element);
    return new LookupElementBuilder(StringUtil.notNullize(element.getName()), element);
  }
public static @NotNull LookupElementBuilder create(@NotNull PsiNamedElement element)