public static @NotNull <T extends PsiElement> T getOriginalOrSelf(@NotNull T psi) {
    final T element = getOriginalElement(psi);
    return element == null ? psi : element;
  }
public static @NotNull <T extends PsiElement> T getOriginalOrSelf(@NotNull T psi)