Problem with method references

Howard Lovatt howard.lovatt at gmail.com
Fri Jan 14 14:15:57 PST 2011


On 15/01/2011, at 4:44 AM, Brian Goetz <brian.goetz at oracle.com> wrote:

[snip]

> (Quiz: what percentage of Java developers have used the outer.new 
> Inner() syntax?)

I have used this a few times, though I have to admit I haven't seen other code that uses it. To be consistent I would suggest that mimicking the existing syntax is the best choice, i.e.:

outer#new Inner()


More information about the lambda-dev mailing list