// "Replace with method reference" "false" interface Foo { B f(A a); } interface DeeBee { A run(Void c) throws SQLException; DeeBee bind(final Foo> f) default { return new DeeBee () { public B run(final Void c) throws SQLException { return f.f(null).run(c); } }; } }