TextContent (TextDomain domain, PsiElement psi, TextRange rangeInPsi) { return new TextContentImpl(domain, Collections.singletonList( new TextContentImpl.PsiToken(rangeInPsi.substring(psi.getText()), psi, rangeInPsi, TextContentImpl.TokenKind.text))); }