@Override
  public @NotNull PsiElement findSameElementInCopy(@NotNull PsiFile copy) {
    GrClosableBlock block = myClosure.getElement();
    if (block == null) {
      throw new IllegalStateException("No parent closure");
    }
    return new ClosureSyntheticParameter(PsiTreeUtil.findSameElementInCopy(block, copy), isOptional());
  }
@Override
  public @NotNull PsiElement findSameElementInCopy(@NotNull PsiFile copy)