TextRange () { final PsiElement endAnchor = ObjectUtils.coalesce(getTypeConversion(), getFormatPart(), getClosingBrace()); return TextRange.create(1, endAnchor != null ? endAnchor.getStartOffsetInParent(): getTextLength()); }