Extracts variables that are declared inside lambda operations to a separate mapping step using the
Stream.map()
,
CompletableFuture.thenApply()
, or similar operations.