/** * Factory method that may be used (although is NOT the recommended way) * to construct an instance from a full set of properties. Most users would * be better of starting by {@link #empty()} instance and using `withXxx`/`withoutXxx`) * methods, as this factory method may need to be changed if new properties * are added in {@link JsonIgnoreProperties} annotation. */ public static Value construct(Set<String> ignored, boolean ignoreUnknown, boolean allowGetters, boolean allowSetters, boolean merge) { if (_empty(ignored, ignoreUnknown, allowGetters, allowSetters, merge)) { return EMPTY; } if (_empty(ignored, ignoreUnknown, allowGetters, allowSetters, merge)) { return EMPTY; } return new Value(ignored, ignoreUnknown, allowGetters, allowSetters, merge); }
protected Object readResolve() { if (_empty(_ignored, _ignoreUnknown, _allowGetters, _allowSetters, _merge)) { return EMPTY; } return this; }
/** * Factory method that may be used (although is NOT the recommended way) * to construct an instance from a full set of properties. Most users would * be better of starting by {@link #empty()} instance and using `withXxx()`/`withoutXxx()` * methods, as this factory method may need to be changed if new properties * are added in {@link JsonIgnoreProperties} annotation. */ public static Value construct(Set<String> ignored, boolean ignoreUnknown, boolean allowGetters, boolean allowSetters, boolean merge) { if (_empty(ignored, ignoreUnknown, allowGetters, allowSetters, merge)) { return EMPTY; } return new Value(ignored, ignoreUnknown, allowGetters, allowSetters, merge); }
protected Object readResolve() { if (_empty(_ignored, _ignoreUnknown, _allowGetters, _allowSetters, _merge)) { return EMPTY; } return this; }
/** * Factory method that may be used (although is NOT the recommended way) * to construct an instance from a full set of properties. Most users would * be better of starting by {@link #empty()} instance and using `withXxx()`/`withoutXxx()` * methods, as this factory method may need to be changed if new properties * are added in {@link JsonIgnoreProperties} annotation. */ public static Value construct(Set<String> ignored, boolean ignoreUnknown, boolean allowGetters, boolean allowSetters, boolean merge) { if (_empty(ignored, ignoreUnknown, allowGetters, allowSetters, merge)) { return EMPTY; } return new Value(ignored, ignoreUnknown, allowGetters, allowSetters, merge); }
protected Object readResolve() { if (_empty(_ignored, _ignoreUnknown, _allowGetters, _allowSetters, _merge)) { return EMPTY; } return this; }
/** * Factory method that may be used (although is NOT the recommended way) * to construct an instance from a full set of properties. Most users would * be better of starting by {@link #empty()} instance and using `withXxx()`/`withoutXxx()` * methods, as this factory method may need to be changed if new properties * are added in {@link JsonIgnoreProperties} annotation. */ public static Value construct(Set<String> ignored, boolean ignoreUnknown, boolean allowGetters, boolean allowSetters, boolean merge) { if (_empty(ignored, ignoreUnknown, allowGetters, allowSetters, merge)) { return EMPTY; } return new Value(ignored, ignoreUnknown, allowGetters, allowSetters, merge); }
protected Object readResolve() { if (_empty(_ignored, _ignoreUnknown, _allowGetters, _allowSetters, _merge)) { return EMPTY; } return this; }