void setGetter(final Method getter) {
            this.getter = Objects.requireNonNull(getter);

            for (final Annotation annotation : getter.getDeclaredAnnotations()) {
                this.getterAnnotationsMap.put(annotation.annotationType(), annotation);
            }
        }
Class to define a config property in the config object tree
stroom-util/src/main/java/stroom/util/config/PropertyUtil.java