beanElement.setInnerBean(beanElement.getId() == null);
ConstructorArgumentValues args = def.getConstructorArgumentValues();
for (Map.Entry<Integer, ValueHolder> e: args.getIndexedArgumentValues().entrySet()) {
ValueHolder holder = e.getValue();
SpringConstructorArgElement arg = new SpringConstructorArgElement(holder.getType());
arg.setIndex(e.getKey());
beanElement.addCustructorArgs(arg);
}
MutablePropertyValues values = def.getPropertyValues();
for (PropertyValue p : values.getPropertyValueList()) {