core/src/main/java/nl/pwiddershoven/jfactory/ObjectFactory.java
private void setProperty(Object target, String name, Object value) {
        if(! ReflectionUtils.setProperty(target, name, getValue(value))) {
            // no property was found, try to set the field directly
            setField(target, name, value);
        }
    }
private void setProperty(Object target, String name, Object value) {
        if(! ReflectionUtils.setProperty(target, name, getValue(value))) {
            // no property was found, try to set the field directly
            setField(target, name, value);
        }
    }
Private methods *