Consider the following: ```groovy def test(List<String> strings) { strings.toArray(String[]::new) } ``` "toArray" under Java 11+ should refer to method that accepts an IntFunction. 
Consider the following:
"toArray" under Java 11+ should refer to method that accepts an IntFunction.