// "Extract variable 'l' to 'map' operation" "true-preview" import java.util.*; import java.util.stream.*; public class Test { long[] testAsLongStream(int[] x) { return Arrays.stream(x).mapToLong((i -> { int l = i * 2; return l; })).toArray(); } }