void () { IntStream stream = IntStream.empty(); IntStream stream2 = stream.map(t -> 2); double random = Math.random(); IntSummaryStatistics intSummaryStatistics = <warning descr="Stream has already been linked or consumed">stream</warning>.summaryStatistics(); }