Extended method reference - A proposal
Mahdi Mohammadi
mahdix at gmail.com
Tue May 17 10:49:54 UTC 2022
Hi,
I have a proposal for the Java language to extend the way we use method
references.
Basically, instead of writing something like "*x -> obj.process(x,5)*" this
should be simplified to "*obj::process(_,5)*". I believe this will simplify
code, make it more concise and promote writing functional code.
I'm looking for feedback from the community and also need help to make this
a JEP. Here <https://cr.openjdk.java.net/~mr/jep/jep-2.0-02.html> it
mentions that I need help from an author, committer or reviewer to be able
to do this.
Thanks,
Mahdi
More information about the amber-dev
mailing list