@Override
  public JavaRenameRefactoring createRename(@NotNull PsiElement element, String newName) {
    return new JavaRenameRefactoringImpl(myProject, element, newName, true, true);
  }
@Override
  public JavaRenameRefactoring createRename(@NotNull PsiElement element, String newName)