| Modifier and Type | Field and Description |
|---|---|
| protected final JsonAutoDetect. | |
| protected final JsonAutoDetect. | |
| protected final JsonAutoDetect. | |
| protected final JsonAutoDetect. | |
| protected final JsonAutoDetect. | |
| protected final JsonAutoDetect. | |
| protected static final VisibilityChecker | |
| protected static final VisibilityChecker | ALL_PUBLIC_EXCEPT_CREATORS
Visibility settings needed to support auto-discovery of non-private Records. |
| protected static final VisibilityChecker | DEFAULT
This is the canonical base instance, configured with default visibility values |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | VisibilityChecker(JsonAutoDetect
Annotations to use for determining minimum visibility levels ann)Constructor used for building instance that has minumum visibility levels as indicated by given annotation instance |
| public | VisibilityChecker(JsonAutoDetect.
Constructor that allows directly specifying minimum visibility levels to use |
| public | VisibilityChecker(JsonAutoDetect.
level to use for all property types vConstructor that will assign given visibility value for all properties. |
| Modifier and Type | Method and Description |
|---|---|
| private JsonAutoDetect. | |
| protected VisibilityChecker | _with(JsonAutoDetect.
Method that can be used for merging default values from `this` instance with specified overrides; and either return `this` if overrides had no effect (that is, result would be equal), or a new instance with merged visibility settings. |
| public static VisibilityChecker | |
| public static VisibilityChecker | |
| public static VisibilityChecker | |
| public static VisibilityChecker | |
| public boolean | equals(Object o)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public boolean | isCreatorVisible(AnnotatedMember m)
Method for checking whether given creator (other than "scalar constructor",
see |
| public boolean | isFieldVisible(AnnotatedField f)
Method for checking whether given field is auto-detectable as property, with respect to its visibility (not considering method signature or name, just visibility) |
| public boolean | isGetterVisible(AnnotatedMethod m)
Method for checking whether given method is auto-detectable as regular getter, with respect to its visibility (not considering method signature or name, just visibility) |
| public boolean | isIsGetterVisible(AnnotatedMethod m)
Method for checking whether given method is auto-detectable as is-getter, with respect to its visibility (not considering method signature or name, just visibility) |
| public boolean | isScalarConstructorVisible(AnnotatedMember m)
Method for checking whether given single-scalar-argument constructor is auto-detectable as delegating Creator, with respect to its visibility (not considering signature, just visibility) |
| public boolean | isSetterVisible(AnnotatedMethod m)
Method for checking whether given method is auto-detectable as setter, with respect to its visibility (not considering method signature or name, just visibility) |
| public String | |
| public VisibilityChecker | with(JsonAutoDetect.
Builder method that will create and return an instance that has specified
|
| public VisibilityChecker | withCreatorVisibility(JsonAutoDetect.
Builder method that will return a checker instance that has specified minimum visibility level for creator methods (constructors, factory methods) |
| public VisibilityChecker | withFieldVisibility(JsonAutoDetect.
Builder method that will return a checker instance that has specified minimum visibility level for fields. |
| public VisibilityChecker | withGetterVisibility(JsonAutoDetect.
Builder method that will return a checker instance that has specified minimum visibility level for regular ("getXxx") getters. |
| public VisibilityChecker | withIsGetterVisibility(JsonAutoDetect.
Builder method that will return a checker instance that has specified minimum visibility level for "is-getters" ("isXxx"). |
| public VisibilityChecker | |
| public VisibilityChecker | |
| public VisibilityChecker | withSetterVisibility(JsonAutoDetect.
Builder method that will return a checker instance that has specified minimum visibility level for setters. |
| public VisibilityChecker | withVisibility(PropertyAccessor method, JsonAutoDetect.
Builder method that will create and return an instance that has specified
|
| _creatorMinLevel | back to summary |
|---|---|
| protected final JsonAutoDetect. | |
| _fieldMinLevel | back to summary |
|---|---|
| protected final JsonAutoDetect. | |
| _getterMinLevel | back to summary |
|---|---|
| protected final JsonAutoDetect. | |
| _isGetterMinLevel | back to summary |
|---|---|
| protected final JsonAutoDetect. | |
| _scalarConstructorMinLevel | back to summary |
|---|---|
| protected final JsonAutoDetect. | |
| _setterMinLevel | back to summary |
|---|---|
| protected final JsonAutoDetect. | |
| ALL_PUBLIC | back to summary |
|---|---|
| protected static final VisibilityChecker ALL_PUBLIC | |
| ALL_PUBLIC_EXCEPT_CREATORS | back to summary |
|---|---|
| protected static final VisibilityChecker ALL_PUBLIC_EXCEPT_CREATORS Visibility settings needed to support auto-discovery of non-private Records.
| |
| DEFAULT | back to summary |
|---|---|
| protected static final VisibilityChecker DEFAULT This is the canonical base instance, configured with default visibility values | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| VisibilityChecker | back to summary |
|---|---|
| public VisibilityChecker(JsonAutoDetect ann) Constructor used for building instance that has minumum visibility levels as indicated by given annotation instance
| |
| VisibilityChecker | back to summary |
|---|---|
| public VisibilityChecker(JsonAutoDetect. Constructor that allows directly specifying minimum visibility levels to use | |
| VisibilityChecker | back to summary |
|---|---|
| public VisibilityChecker(JsonAutoDetect. Constructor that will assign given visibility value for all properties.
| |
| _defaultOrOverride | back to summary |
|---|---|
| private JsonAutoDetect. | |
| _with | back to summary |
|---|---|
| protected VisibilityChecker _with(JsonAutoDetect. Method that can be used for merging default values from `this` instance with specified overrides; and either return `this` if overrides had no effect (that is, result would be equal), or a new instance with merged visibility settings. | |
| allPublicExceptCreatorsInstance | back to summary |
|---|---|
| public static VisibilityChecker allPublicExceptCreatorsInstance() | |
| allPublicInstance | back to summary |
|---|---|
| public static VisibilityChecker allPublicInstance() | |
| construct | back to summary |
|---|---|
| public static VisibilityChecker construct(JsonAutoDetect. | |
| defaultInstance | back to summary |
|---|---|
| public static VisibilityChecker defaultInstance() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| isCreatorVisible | back to summary |
|---|---|
| public boolean isCreatorVisible(AnnotatedMember m) Method for checking whether given creator (other than "scalar constructor",
see | |
| isFieldVisible | back to summary |
|---|---|
| public boolean isFieldVisible(AnnotatedField f) Method for checking whether given field is auto-detectable as property, with respect to its visibility (not considering method signature or name, just visibility) | |
| isGetterVisible | back to summary |
|---|---|
| public boolean isGetterVisible(AnnotatedMethod m) Method for checking whether given method is auto-detectable as regular getter, with respect to its visibility (not considering method signature or name, just visibility) | |
| isIsGetterVisible | back to summary |
|---|---|
| public boolean isIsGetterVisible(AnnotatedMethod m) Method for checking whether given method is auto-detectable as is-getter, with respect to its visibility (not considering method signature or name, just visibility) | |
| isScalarConstructorVisible | back to summary |
|---|---|
| public boolean isScalarConstructorVisible(AnnotatedMember m) Method for checking whether given single-scalar-argument constructor is auto-detectable as delegating Creator, with respect to its visibility (not considering signature, just visibility)
| |
| isSetterVisible | back to summary |
|---|---|
| public boolean isSetterVisible(AnnotatedMethod m) Method for checking whether given method is auto-detectable as setter, with respect to its visibility (not considering method signature or name, just visibility) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| with | back to summary |
|---|---|
| public VisibilityChecker with(JsonAutoDetect. Builder method that will create and return an instance that has specified
mapper.setVisibilityChecker(
mapper.getVisibilityChecker().with(Visibility.NONE));
(which would basically disable all auto-detection)
| |
| withCreatorVisibility | back to summary |
|---|---|
| public VisibilityChecker withCreatorVisibility(JsonAutoDetect. Builder method that will return a checker instance that has specified minimum visibility level for creator methods (constructors, factory methods) | |
| withFieldVisibility | back to summary |
|---|---|
| public VisibilityChecker withFieldVisibility(JsonAutoDetect. Builder method that will return a checker instance that has specified minimum visibility level for fields. | |
| withGetterVisibility | back to summary |
|---|---|
| public VisibilityChecker withGetterVisibility(JsonAutoDetect. Builder method that will return a checker instance that has specified minimum visibility level for regular ("getXxx") getters. | |
| withIsGetterVisibility | back to summary |
|---|---|
| public VisibilityChecker withIsGetterVisibility(JsonAutoDetect. Builder method that will return a checker instance that has specified minimum visibility level for "is-getters" ("isXxx"). | |
| withOverrides | back to summary |
|---|---|
| public VisibilityChecker withOverrides(JsonAutoDetect. | |
| withScalarConstructorVisibility | back to summary |
|---|---|
public VisibilityChecker withScalarConstructorVisibility(JsonAutoDetect.
| |
| withSetterVisibility | back to summary |
|---|---|
| public VisibilityChecker withSetterVisibility(JsonAutoDetect. Builder method that will return a checker instance that has specified minimum visibility level for setters. | |
| withVisibility | back to summary |
|---|---|
| public VisibilityChecker withVisibility(PropertyAccessor method, JsonAutoDetect. Builder method that will create and return an instance that has specified
mapper.setVisibilityChecker(
mapper.getVisibilityChecker().withVisibility(JsonMethod.FIELD, Visibility.ANY));
(which would basically enable auto-detection for all member fields)
| |