Community
Participate
Working Groups
Given the following example tha autocomplete for toArray yield the following result: Stream<String> example = Stream.of("a", "b"); example.toArray(generator); as the generator is likely never a local variable it would help to have the following instead auto-completed: Stream<String> example = Stream.of("a", "b"); example.toArray(String[]::new); the same applies for Collection.toArray(...)