Consider the following:
List<String> list = ['a', 'e', 'i', 'o', 'u', 'y']
list = ['abc', 'def', 'ghi', 'xyz'].stream().filter(
e -> list.stream().anyMatch(c -> e.contains(c))).toList()
The variable expressions "e" and "c" are missing name offsets, causing a breakdown in syntax highlighting. Also the type of each should be inferred as String, not Object.

Consider the following:
The variable expressions "e" and "c" are missing name offsets, causing a breakdown in syntax highlighting. Also the type of each should be inferred as String, not Object.