void () { LongStream stream = LongStream.empty(); IntStream intStream = stream.mapToInt(t -> 1); double random = Math.random(); OptionalLong max = <warning descr="Stream has already been linked or consumed">stream</warning>.max(); }