@Override
        public boolean equals(final Object o) {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            final Prop prop = (Prop) o;
            return Objects.equals(name, prop.name) &&
                   Objects.equals(parentObject, prop.parentObject) &&
                   Objects.equals(getter, prop.getter) &&
                   Objects.equals(setter, prop.setter);
        }
@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