JEP 302: Lambda Leftovers

John Rose john.r.rose at oracle.com
Wed Dec 7 19:31:12 UTC 2016


This is a more general problem. What we need, IMO, is this::class or some other goofy-looking syntax to extract the type of an expression, or at the very least the current class. Like typeof but (probably) postfix. 

– John

> On Dec 7, 2016, at 9:39 AM, Remi Forax <forax at univ-mlv.fr> wrote:
> 
> My gut feeling is that AClassNameWithALongName::m is far more common than this::m, so we can restrict the meaning of ::m to become equivalent to AClassNameWithALongName::m and not to this::m.



More information about the platform-jep-discuss mailing list