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