@Nullable
  static PsiElement replaceWithFindExtremum(@NotNull CommentTracker ct, @NotNull PsiStatement loopStatement,
                                            @NotNull PsiVariable extremumHolder,
                                            @NotNull String streamText,
                                            @Nullable PsiVariable keyExtremum) {
    if(keyExtremum != null) {
      ct.delete(keyExtremum);
    }
    InitializerUsageStatus status = ControlFlowUtils.getInitializerUsageStatus(extremumHolder, loopStatement);
    return replaceInitializer(loopStatement, extremumHolder, extremumHolder.getInitializer(), streamText, status, ct);
  }
@Nullable
  static PsiElement replaceWithFindExtremum(@NotNull CommentTracker ct, @NotNull PsiStatement loopStatement,
                                            @NotNull PsiVariable extremumHolder,
                                            @NotNull String streamText,
                                            @Nullable PsiVariable keyExtremum)