public static void main(String[] args) {
public static void main(String[] args) throws IOException {
    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();    }