// "Extract variable 'arr' to 'mapToObj' operation" "true-preview"
import java.util.*;
import java.util.stream.*;

public class Test {
  String testArrayInitializer() {
    return LongStream.of(1,2,3).mapToObj(x -> {
      long[] <caret>arr = {x};
      return Arrays.toString(arr);
    }).collect(Collectors.joining(","));
  }
}