Package org.apache.juneau
Class AnnotationWork
java.lang.Object
org.apache.juneau.AnnotationWork
A unit of work for applying an annotation to a context builder.
 
Consists of a pair of objects:
- AnnotationInfo- The annotation being applied.
- AnnotationApplier- The applier for that annotation.
See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionAnnotationWork(AnnotationInfo annotation, AnnotationApplier applier) Constructor.
- 
Method SummaryModifier and TypeMethodDescriptionvoidCallsAnnotationApplier.apply(AnnotationInfo, Object)on the specified builder.booleanReturnstrue if the annotation in this work can be applied to the specified builder.
- 
Constructor Details- 
AnnotationWorkConstructor.- Parameters:
- annotation- The annotation being applied.
- applier- The applier for that annotation.
 
 
- 
- 
Method Details- 
canApplyReturnstrue if the annotation in this work can be applied to the specified builder.- Parameters:
- builder- The builder.
- Returns:
- true if the annotation in this work can be applied to the specified builder.
 
- 
applyCallsAnnotationApplier.apply(AnnotationInfo, Object)on the specified builder.A no-op if AnnotationApplier.canApply(Object)returnsfalse .- Parameters:
- builder- The builder.
 
 
-