void () { IntStream stream = IntStream.of(1); IntStream stream2 = stream.filter(t -> true); double random = Math.random(); OptionalInt min = <warning descr="Stream has already been linked or consumed">stream</warning>.min(); }