}
if (Set.class.isAssignableFrom(attrType)) {
return new SetEditor(getElementType(type, attrName));
}
if (Collection.class.isAssignableFrom(attrType)) {
return new CollectionEditor(getElementType(type, attrName));
}
if (Map.class.isAssignableFrom(attrType)) {
return new MapEditor(
getMapKeyType(type, attrName),
getMapValueType(type, attrName));