void () { Stream<String> stream = Stream.of("x"); Stream<String> parallel = stream.parallel().filter(t->true); <warning descr="Stream has already been linked or consumed">stream</warning>.forEach(System.out::println); }