@Nullable
  private static PsiElement getOriginalPsi(SmartPsiElementPointer<?> pointer) {
    return pointer == null ? null : pointer.getElement();
  }
@Nullable
  private static PsiElement getOriginalPsi(SmartPsiElementPointer<?> pointer)