Package org.apache.juneau.marshall.json
Class JsonApplyAnnotation.Applier
java.lang.Object
org.apache.juneau.marshall.AnnotationApplier<JsonApply,Context.Builder>
org.apache.juneau.marshall.json.JsonApplyAnnotation.Applier
- Enclosing class:
- JsonApplyAnnotation
public static class JsonApplyAnnotation.Applier
extends AnnotationApplier<JsonApply,Context.Builder>
Applies targeted
JsonApply annotations to a Context.Builder.
Passes the @JsonApply annotation through to the builder's annotation list.
The AnnotationProvider.Builder#addRuntimeAnnotations(java.util.List)
method handles unwrapping the nested @Json from JsonApply.value() and registering it
under the targets specified by JsonApply.on() and JsonApply.onClass().
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(AnnotationInfo<JsonApply> ai, Context.Builder b) Apply the specified annotation to the specified property store builder.
-
Constructor Details
-
Applier
Constructor.- Parameters:
vr- The resolver for resolving values in annotations.
Must not benull .
-
-
Method Details
-
apply
Description copied from class:AnnotationApplierApply the specified annotation to the specified property store builder.- Specified by:
applyin classAnnotationApplier<JsonApply,Context.Builder> - Parameters:
ai- The annotation.b- The property store builder.
-