@Override public boolean hasCreatorAnnotation(Annotated a) { /* No dedicated disabling; regular @JsonIgnore used * if needs to be ignored (and if so, is handled prior * to this method getting called) */ JsonCreator ann = _findAnnotation(a, JsonCreator.class); return (ann != null && ann.mode() != JsonCreator.Mode.DISABLED); }
@Override public JsonCreator.Mode findCreatorBinding(Annotated a) { JsonCreator ann = _findAnnotation(a, JsonCreator.class); return (ann == null) ? null : ann.mode(); }