proxy.setSuperType(targetBeanType);
}
proxy.setVisibility(Visibility.PRIVATE);
// add a no arguments constructor...
final NewConstructor constructor = proxy.newConstructor();
constructor.setBody(EmptyCodeBlock.INSTANCE);
constructor.setVisibility(Visibility.PUBLIC);
// add a field of type target bean this will be set by the
// ProxyFactoryBean.createProxy0 method.
final NewField field = proxy.newField();
field.setFinal(false);