setNamePrefix(superMethod.getDeclaringClass().getName());
Method nonNull = (superMethod != null) ? superMethod : method; if (nonNull == null) { throw new IllegalArgumentException("Both method and superMethod cannot be null"); } setNamePrefix(nonNull.getDeclaringClass().getName());
        public Generator(Method method, Method superMethod) {            setSuperclass(MethodProxy.class);            setNamePrefix(superMethod.getDeclaringClass().getName());            this.superMethod = superMethod;            this.method = method;        }