static TextContent psiFragment(TextDomain domain, PsiElement psi) {
    return psiFragment(domain, psi, TextRange.from(0, psi.getTextLength()));
  }
static TextContent psiFragment(TextDomain domain, PsiElement psi)