Consider the following: ```groovy void test(List<String> list) { def array = list.stream().toArray(String) } ``` Call to "toArray" does not match either "toArray()" or "toArray(IntFunction)". Therefore, it should be displayed as unknown (underlined). 
Consider the following:
Call to "toArray" does not match either "toArray()" or "toArray(IntFunction)". Therefore, it should be displayed as unknown (underlined).