(InvocationHandler handler, Class... classes)
| 3 | public class Proxy { |
| 4 | |
| 5 | public static Object makeGadget(InvocationHandler handler, Class... classes) throws Exception { |
| 6 | return java.lang.reflect.Proxy.newProxyInstance(Proxy.class.getClassLoader(), classes, handler); |
| 7 | } |
| 8 | } |