protected ISetProperty doGetDelegate(Object source) {
Class beanClass = source.getClass();
if (delegates.containsKey(beanClass))
return (ISetProperty) delegates.get(beanClass);
ISetProperty delegate;
try {
delegate = PojoProperties.set(beanClass, propertyName,
(Class) getElementType());
} catch (IllegalArgumentException noSuchProperty) {
delegate = null;