public static @NotNull <E extends PsiElement> SmartPsiElementPointer<E> createPointer(@NotNull E element) {
    return getInstance(element.getProject()).createSmartPsiElementPointer(element);
  }
public static @NotNull <E extends PsiElement> SmartPsiElementPointer<E> createPointer(@NotNull E element)