Implicit 'this' return for void methods

Ulf Zibis Ulf.Zibis at
Wed Mar 26 07:51:46 UTC 2014



Am 25.03.2014 21:19, schrieb Victor Polischuk:
> Good day, everyone,
> I have a question regarding a proposal I found some time ago:
> In a word, it is all about replacing 'void' behavior to always return 'this' and I think for static methods it would be nice to return Class instance. I have not found any mentions in JEPs and just wonder if the idea is rejected or still somewhere in pipeline for Java 1.x. (or perhaps it is just waiting to be filed by someone in brand new JEP).
> ---
> Regards,
> Victor Polischuk

More information about the core-libs-dev mailing list