void () { Stream<String> stream = Stream.of("x"); for (int i = 0; i < 10; i++) { Iterator<String> iterator = <warning descr="Stream might have already been linked or consumed">stream</warning>.iterator(); } }