I would look at the specification for method references specifically
in java it boils down to
interface A {
B f(C c);
}so whatever rules are applied to say if this
Thing::someMethodcan be used where an A is expected
those are the rules to use
@ajoberstar has joined the channel