Class keyType, Class valueType) {
PropertyDescriptor propertyDescriptor;
IMapProperty property;
if (beanClass == null) {
propertyDescriptor = null;
property = new AnonymousBeanMapProperty(propertyName, keyType,
valueType);
} else {
propertyDescriptor = BeanPropertyHelper.getPropertyDescriptor(
beanClass, propertyName);
property = new BeanMapProperty(propertyDescriptor, keyType,