[ 
https://issues.apache.org/jira/browse/GROOVY-11669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17952402#comment-17952402
 ] 

ASF GitHub Bot commented on GROOVY-11669:
-----------------------------------------

eric-milles opened a new pull request, #2227:
URL: https://github.com/apache/groovy/pull/2227

   create bridge method to supply `Class` instance




> 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
>
> From the mailing list:
> {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)

Reply via email to