public static Class<?> determineGenericsType(Class<?> parentClazz, PropertyDescriptor propDescriptor) {
        Class<?> result = null;
        //Try getter and setter to determine the Generics type in case one does not exist
        if (propDescriptor.getWriteMethod() != null) {
            result = determineGenericsType(parentClazz, propDescriptor.getWriteMethod(), false);
        }

        if (result == null && propDescriptor.getReadMethod() != null) {
            result = determineGenericsType(parentClazz, propDescriptor.getReadMethod(), true);
        }

        return result;
    }
Find a method with concrete string representation of it's parameters

@param clazz         clazz to search
@param methodName    name of method with representation of it's parameters
@param beanContainer beanContainer instance
@return found method
@throws NoSuchMethodException if no method found
core/src/main/java/com/github/dozermapper/core/util/ReflectionUtils.java