@Contract(value = "_, _ -> new", pure = true)
  @NotNull
  static TextOccurrence of(@NotNull PsiElement element, int offsetInElement) {
    return new Impl(element, offsetInElement);
  }
@Contract(value = "_, _ -> new", pure = true)
  @NotNull
  static TextOccurrence of(@NotNull PsiElement element, int offsetInElement)