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