@NotNull
  private static TextRange rangeOf(@NotNull PsiElement element) {
    return TextRange.from(0, element.getTextLength());
  }
@NotNull
  private static TextRange rangeOf(@NotNull PsiElement element)