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