throw new PropertyPermissionException(propertyName, node.getPath(), obj.getClass(), "Not permitted to add or set property [" + propertyName + "]");
}
// if we can "add" this property, then turn off checkForDuplicates
// we also don't check for duplicates in the case of a collection
if (ch != null || property.canAdd()) {
checkForDuplicates = false;
}
// was this property already previously set?
// only use this check if an "add" method doesn't exist for the bean