private static Field getFieldFromBean(Class<?> clazz, String fieldName, final Class<?> originalClass) {
        try {
            Field field = clazz.getDeclaredField(fieldName);
            // Allow access to private instance var's that dont have public setter.
            field.setAccessible(true);
            return field;
        } catch (NoSuchFieldException e) {
            if (clazz.getSuperclass() != null) {
                return getFieldFromBean(clazz.getSuperclass(), fieldName, originalClass);
            }
            throw new MappingException("No such field found " + originalClass.getName() + "." + fieldName, e);
        }
    }
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