return value;
    public SettingValue2 getSettingValue(Setting setting) {        SettingValue2 value = null;                String path = setting.getPath();        Method m = m_properties.get(path);        if (m != null) {            Object o;            try {                                // should be getter (although not strictly nec), with no args                o = m.invoke(m_bean, new Object[0]);//                String svalue = o == null ? null : o.toString();                                                String svalue = setting.getType().convertToStringValue(o);                                value = new SettingValueImpl(svalue);                            } catch (IllegalArgumentException e) {                throw new RuntimeException(e);            } catch (IllegalAccessException e) {                throw new RuntimeException(e);            } catch (InvocationTargetException e) {                throw new RuntimeException(e);            }        }        return value;    }