public static Class<?> determineGenericsType(Type type) {
        Class<?> result = null;
        if (type != null && ParameterizedType.class.isAssignableFrom(type.getClass())) {
            Type genericType = ((ParameterizedType)type).getActualTypeArguments()[0];
            if (genericType != null) {
                if (genericType instanceof Class) {
                    result = (Class<?>)genericType;
                } else if (genericType instanceof ParameterizedType) {
                    Type rawType = ((ParameterizedType)genericType).getRawType();
                    result = (Class<?>)rawType;
                }
            }
        }
        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