java

emccue 2020-12-30T05:47:45.160700Z

I would look at the specification for method references specifically

emccue 2020-12-30T05:47:55.161Z

in java it boils down to

emccue 2020-12-30T05:48:11.161500Z

interface A {
   B f(C c);
}

emccue 2020-12-30T05:48:20.161800Z

so whatever rules are applied to say if this

emccue 2020-12-30T05:48:29.162200Z

Thing::someMethod

emccue 2020-12-30T05:48:41.162500Z

can be used where an A is expected

emccue 2020-12-30T05:48:53.162900Z

those are the rules to use