void () { Stream<String> stream = Stream.of("x"); Stream<String> stream2 = stream.filter(String::isEmpty); double random = Math.random(); Stream<String> stream3 = <warning descr="Stream has already been linked or consumed">stream</warning>.filter(x -> !x.isEmpty()); }