static A nuLike proxy_printAllMethodCalls(Class intrface, S prefix default "") { ret (A) java.lang.reflect.Proxy.newProxyInstance(intrface.getClassLoader(), new Class[] { intrface }, new InvocationHandler { public O invoke(O proxy, Method method, O[] args) { print(prefix, renderFunctionCall(method.getName(), args)); null; } }); }