@Override
  public @Nullable FileModifier getFileModifierForPreview(@NotNull PsiFile target) {
    return new CreateLocalFromUsageFix(PsiTreeUtil.findSameElementInCopy(myReferenceExpression, target));
  }
@Override
  public @Nullable FileModifier getFileModifierForPreview(@NotNull PsiFile target)