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