Just wanted to mention that I have also seen the pattern of creating a proxy and calling the lambda on the proxy to detect the method for a method reference. However, this works only with methods on interfaces.