class Test22 { static Iterable map(Mapper mapper) { return null; } static void test() { Iterable map = map(Test22 ::length); } public static int length(String s) { return 0; } } interface Mapper { U map(T t); }