private @NotNull TextRange getTextRange() {
      PsiElement resolved = retrieve();
      if (resolved == null) throw new PsiInvalidElementAccessException(null, "Element type: " + myElementType + "; " + myVirtualFile);
      return resolved.getTextRange();
    }
private @NotNull TextRange getTextRange()