Method references with types [Re: lambda syntax tutorial]

Rémi Forax forax at univ-mlv.fr
Thu Aug 5 14:30:14 PDT 2010


Le 05/08/2010 23:03, Paul Benedict a écrit :
> Good point Stephen. Parentheses should refer to methods, and without them to
> fields. Your insight will definitely retain the separate namespaces that
> Java has established.
>
> PS: Is Lambda also considering any support to turn method/field references
> into java.lang.reflect types?
>    

JSR 292 already adds support for instance field/static field references 
in the VM.
The question is just, should they have a syntax in Java.

Rémi


More information about the lambda-dev mailing list