if (true) { byte[] classData = ProxyBuilder.getProxyClass(loader, new Class[] { IFoo.class }); FileOutputStream os = new FileOutputStream("$Proxy0.class"); os.write(classData); os.close(); }
    public static void main(String[] args) {        IFoo origFoo = new FooImpl();                IFoo proxy = (IFoo) Proxy.newProxyInstance(ProxyTest.class.getClassLoader(),                new Class[] { IFoo.class }, new Handler<IFoo>(origFoo));        proxy.foo();    }