public static Object object(Class type, Object delegate, ProxyFactory factory) { return factory.createProxy(new Class[] {type}, new DelegatingInvoker(delegate));
public static Object object(Class type, Object delegate) { return object(type, delegate, new StandardProxyFactory());
    public static Object object(Class type, Object delegate, ProxyFactory factory) {        return factory.createProxy(new Class[] {type}, new DelegatingInvoker(delegate));    }