for (int i = 0; i < methods.length; i++) {
final Method m = methods[i];
if (ReflectUtils.isSetter(m)) {
beanGenerator.addProperty(ReflectUtils.getPropertyName(m), ReflectUtils.getPropertyType(m));
}
}
//
// Enhance the class by placing a GetCachingMethodInterceptor