@Override
  public @Nullable FileModifier getFileModifierForPreview(@NotNull PsiFile target) {
    PyFunction function = PyRefactoringUtil.findSameElementForPreview(myFunction, target);
    if (function == null) {
      return null;
    }
    @Nullable PyExpression returnExpr = PyRefactoringUtil.findSameElementForPreview(myReturnExpr, target);
    if (myReturnExpr != null && returnExpr == null) {
      return null;
    }
    @Nullable PyAnnotation annotation = PyRefactoringUtil.findSameElementForPreview(myAnnotation, target);
    if (myAnnotation != null && annotation == null) {
      return null;
    }
    @Nullable PsiComment typeComment = PyRefactoringUtil.findSameElementForPreview(myTypeCommentAnnotation, target);
    if (myTypeCommentAnnotation != null && typeComment == null) {
      return null;
    }
    return new PyMakeFunctionReturnTypeQuickFix(function, returnExpr, annotation, typeComment, myHaveSuggestedType, myReturnTypeName);
  }
@Override
  public @Nullable FileModifier getFileModifierForPreview(@NotNull PsiFile target)