Constructor references

Steven Simpson ss at
Fri Jan 14 08:32:42 PST 2011

On 14/01/11 14:34, John Nilsson wrote:
> On Fri, Jan 14, 2011 at 2:04 PM, Steven Simpson <ss at> wrote:
>> This would leave open the possibility of 'receiver#ClassName.methodName'
>> if there was ever a case to distinguish between two instance methods
>> inherited from different classes.  (Could that issue arise with multiply
>> inherited defender methods?)
> How about theese?
> ClassName.this#methodName

Hmm - looks like an outer-instance reference.

> ((ClassName)reciever)#methodName

Yes, it had occurred to me too.  :)  I was just wondering if the syntax
was useful in other ways, even if redundant in this case.


More information about the lambda-dev mailing list