@FunctionalInterface interface I { T foo(T t); } class Foo { void test() { String::toLowerCase; } }