Package org.apache.juneau.marshall
Class SwapApplyAnnotation.Applier
java.lang.Object
org.apache.juneau.marshall.AnnotationApplier<SwapApply,Context.Builder>
org.apache.juneau.marshall.SwapApplyAnnotation.Applier
- Enclosing class:
- SwapApplyAnnotation
public static class SwapApplyAnnotation.Applier
extends AnnotationApplier<SwapApply,Context.Builder>
Applies targeted
SwapApply annotations to a Context.Builder.
Passes the @SwapApply annotation through to the builder's annotation list.
The AnnotationProvider.Builder#addRuntimeAnnotations(java.util.List)
method handles unwrapping the nested @Swap from SwapApply.value() and registering it
under the targets specified by SwapApply.on() and SwapApply.onClass().
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(AnnotationInfo<SwapApply> 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<SwapApply,Context.Builder> - Parameters:
ai- The annotation.b- The property store builder.
-