Eclipse content assist not working when using Method reference inside Stream.map

Viewed 251

Eclipse content assist not working when using Method reference Stream.map

List<String> l1 = Arrays.asList(new String[] { "a", "b", "c", "d" });
l1 = l1.stream().map(String::toUpperCase).collect(Collectors.toList());

When i press Ctr+Spae after l1.stream().map(String::toUpperCase). no proposal is being shown. It works fine if I use Lambda instead of method-reference.

Eclipse Version: 2020-03 (4.15.0)

1 Answers
Related