}
@Override
public Method getWriteMethod() throws NoSuchMethodException {
if (MappingUtils.isBlankOrNull(setMethodName)) {
throw new MappingException("Custom Map set method not specified for field mapping to class: " + clazz
+ ". Perhaps the map-set-method wasn't specified in the dozer mapping file?");
}
if (writeMethod == null || writeMethod.get() == null) {
Method method = findMapMethod(clazz, setMethodName, 2);
writeMethod = new SoftReference<Method>(method);