Method and Field Literals

arjan tijms arjan.tijms at gmail.com
Mon Apr 18 18:53:52 UTC 2022


Hi,

It's again a couple of years later, is there already any desire to
pursue the method and field literals topic?

Kind regards,
Arjan Tijms

On Fri, Jul 27, 2018 at 7:00 PM Martijn Verburg <martijnverburg at gmail.com>
wrote:

> @HereBeDragons - I’m almost tempted to raise a JEP.
>
> On Fri, 27 Jul 2018 at 16:45, Brian Goetz <brian.goetz at oracle.com> wrote:
>
> > > The non easy way is to make the method reference Serializable,
> serialize
> > it and extract the Serialization proxy which contains the class, the
> method
> > etc.
> >
> > In addition to non-easy, this is also non-safe, non-cost-free, etc.
> > Let's put this in the category of "dangerous workarounds" :)
> >
> >
> > --
> Cheers, Martijn (Sent from Gmail Mobile)
>


More information about the discuss mailing list