TextRange () { final PsiElement refNameElement = getReferenceNameElement(); final int offsetInParent = refNameElement.getStartOffsetInParent(); return new TextRange(offsetInParent, offsetInParent + refNameElement.getTextLength()); }