Method and Field Literals

Brian Goetz brian.goetz at oracle.com
Fri Jul 27 15:45:27 UTC 2018


> 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" :)




More information about the discuss mailing list