Hello @amber-dev <[email protected]>, I asked this on core-libs-dev already, but I figured I should ask here too.
Let's say I have some record User(String firstName, String lastName) {}.
Is there any possible way for me to do the following?
java.lang.reflect.RecordComponent firstName = foo(User::firstName);
I'll even accept this.
java.lang.reflect.Method lastName = foo(User::lastName);
Thank you for your time and consideration.
David Alayachew
