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