public void setValueOnConfigObject(final Object parentObject, final Object newValue) {
            try {
                setter.invoke(parentObject, newValue);
            } catch (IllegalAccessException | InvocationTargetException e) {
                throw new RuntimeException(LogUtil.message("Error setting value for prop {} on {}",
                        name, parentObject), e);
            }
        }
@return The {@link Annotation} if it is found on the field or getter, in that order.
stroom-util/src/main/java/stroom/util/config/PropertyUtil.java