import java.util.stream.*; class Foo { { Stream.of(1, 2, 3).filter(x -> x % 2 == 0)/*<# Stream #>*/ .map(x -> x * 2)/*<# Stream #>*/ .map(x -> "item: " + x)/*<# Stream #>*/ .forEach(System.out::println); } }