[ https://issues.apache.org/jira/browse/GROOVY-11669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King closed GROOVY-11669. ------------------------------ > SC: class method reference > -------------------------- > > Key: GROOVY-11669 > URL: https://issues.apache.org/jira/browse/GROOVY-11669 > Project: Groovy > Issue Type: Improvement > Components: class generator, Static compilation > Reporter: Eric Milles > Assignee: Eric Milles > Priority: Major > Fix For: 5.0.0-beta-1 > > > From the mailing list > (https://lists.apache.org/thread/0rc15rzpn25ykfjz9669wdfxv2mj5n6g): > {code:groovy} > @CompileStatic > void test() { > [""].stream().map(String::cast) // cast is a Class method > } > test() > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)