restygwt/src/main/java/org/fusesource/restygwt/rebind/JsonEncoderDecoderClassCreator.java
private JsonProperty getJsonPropertyFromGetterSetter(JMethod getter, JMethod setter) {
        JsonProperty setterProp = getAnnotation(setter, JsonProperty.class);
        return (null != setterProp) ? setterProp : getAnnotation(getter, JsonProperty.class);
    }
private JsonProperty getJsonPropertyFromGetterSetter(JMethod getter, JMethod setter) {
        JsonProperty setterProp = getAnnotation(setter, JsonProperty.class);
        return (null != setterProp) ? setterProp : getAnnotation(getter, JsonProperty.class);
    }
Get {@link JsonProperty} from getter or setter. Annotation from setter is preferred to getter.

@param getter
@param setter
@return