// "Replace with lambda" "true" class Test { interface Eff { B f(A a); } interface InOut { A run() throws IOException; default InOut bind(final Eff> f) { return new InOut() { @Override public B run() throws IOException { return f.f(InOut.this.run()).run(); } }; } } }