int () { final PsiVariable variable = getVariable(); if (variable != null) { final PsiIdentifier identifier = variable.getNameIdentifier(); if (identifier != null) { return identifier.getTextOffset(); } } return super.getCaretOffset(); }