void () { Stream<String> stream = Stream.of("x"); Iterator<String> iterator = stream.iterator(); double random = Math.random(); Iterator<String> iterator2 = <warning descr="Stream has already been linked or consumed">stream</warning>.iterator(); }