@Override
  public RenameRefactoring createRename(@NotNull final PsiElement element, final String newName) {
    return new RenameRefactoringImpl(myProject, element, newName, true, true);
  }
@Override
  public RenameRefactoring createRename(@NotNull final PsiElement element, final String newName)