@Override
      public PsiElement handleElementRename(@NotNull String newElementName) throws IncorrectOperationException {
        String oldText = getOldName();
        final TextRange range = getRangeInElement();
        final String newText =
          oldText.substring(0, range.getStartOffset() - 1) + newElementName + oldText.substring(range.getEndOffset() - 1);
        return setNewName(newText);
      }
@Override
      public PsiElement handleElementRename(@NotNull String newElementName)