@Override
  public PsiElement handleElementRename(@NotNull String newElementName) throws IncorrectOperationException {
    newElementName = StringUtil.trimEnd(newElementName, PyNames.DOT_PY);
    return super.handleElementRename(newElementName);
  }
@Override
  public PsiElement handleElementRename(@NotNull String newElementName)