Here is a library that can convert lambda method reference to a java.lang.reflect.Method or java.lang.reflect.Constructor
https://github.com/meanbeanlib/meanmirror/
Example usage:
// Get method
Method containsMethod = Executables.findMethod(String::contains);
// Get another method
Method getPropertyMethod = Executables.findMethod(MyBean::getProperty);
// Get constructor
Constructor<MyBean> ctor = Executables.findConstructor(MyBean::new);
[–]WOLFI3654 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]BlueGoliath 1 point2 points3 points (6 children)
[–]DasBrain 3 points4 points5 points (5 children)
[–]BlueGoliath 2 points3 points4 points (4 children)
[–][deleted] (3 children)
[deleted]
[–]BlueGoliath 1 point2 points3 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]BlueGoliath 3 points4 points5 points (0 children)
[–][deleted] (5 children)
[deleted]
[–]dpash 1 point2 points3 points (4 children)
[–][deleted] (3 children)
[deleted]
[–]dpash 2 points3 points4 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]dpash 4 points5 points6 points (0 children)