generateProxy(iface, method, i);
generateProxy(clazz, method, i);
    protected void generate() throws NoSuchMethodException {        declare_interfaces(interfaces);        declare_interface(Delegator.Factory.TYPE);        generateConstructor();        generateFactory();        Set methodSet = new HashSet();        for (int i = 0; i < interfaces.length; i++) {            Class iface = interfaces[i];            if (!iface.isInterface()) {                throw new IllegalArgumentException(iface + " is not an interface");            }            Method[] methods = iface.getMethods();            for (int j = 0; j < methods.length; j++) {                Method method = methods[j];                Object methodKey = MethodWrapper.newInstance(method);                if (!methodSet.contains(methodKey)) {                    methodSet.add(methodKey);                    generateProxy(iface, method, i);                }            }        }    }