static IF1 objectMethodToIF1(O object, S method) { ret object == null ? null : new IF1 { public O get(O a) { ret call(object, method, a); } }; }