Class elementType) {
PropertyDescriptor propertyDescriptor;
ISetProperty property;
if (beanClass == null) {
propertyDescriptor = null;
property = new AnonymousPojoSetProperty(propertyName, elementType);
} else {
propertyDescriptor = BeanPropertyHelper.getPropertyDescriptor(
beanClass, propertyName);
property = new PojoSetProperty(propertyDescriptor, elementType);
}