Hi Dan,

On Fri, Oct 16, 2015 at 7:29 PM, <[email protected]> wrote:

> +For the case where there is only a single member being contributed, the
> special name "__" (that is, two underscores)
> +can be used instead.  In this case, the contributee member's name will be
> inferred from the mixin's class name.  If the
> +class name itself contains an underscore, then the last part of the class
> name will be used.
>

AFAIK usage of underscore as a prefix in names (and especially two
consecutive underscores) is is kind of deprecated in Java 8 and most
probably won't compile in Java 9.
I think I've seen IDEA 14+ to log compilation warnings when such a detected.

I remember seeing a answer by Brian Goetz somewhere but I cannot find it
now.
Here is an answer in SO: http://stackoverflow.com/a/23525446/497381


Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

Reply via email to