Package org.apache.juneau.annotation
Class TargetedAnnotationMBuilder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder
org.apache.juneau.annotation.TargetedAnnotationBuilder
org.apache.juneau.annotation.TargetedAnnotationMBuilder
- Direct Known Subclasses:
RestDeleteAnnotation.Builder,RestDestroyAnnotation.Builder,RestEndCallAnnotation.Builder,RestGetAnnotation.Builder,RestInitAnnotation.Builder,RestInjectAnnotation.Builder,RestOpAnnotation.Builder,RestOptionsAnnotation.Builder,RestPatchAnnotation.Builder,RestPostAnnotation.Builder,RestPostCallAnnotation.Builder,RestPostInitAnnotation.Builder,RestPreCallAnnotation.Builder,RestPutAnnotation.Builder,RestStartCallAnnotation.Builder
An implementation of an annotation that has an
on value targeting classes/methods/fields/constructors.
See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTargetedAnnotationMBuilder(Class<? extends Annotation> annotationType) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionAppends the methods that this annotation applies to.The targets this annotation applies to.
-
Constructor Details
-
TargetedAnnotationMBuilder
Constructor.- Parameters:
annotationType- The annotation type of the annotation implementation class.
-
-
Method Details
-
on
Appends the methods that this annotation applies to.- Parameters:
value- The values to append.- Returns:
- This object.
-
on
Description copied from class:TargetedAnnotationBuilderThe targets this annotation applies to.- Overrides:
onin classTargetedAnnotationBuilder- Parameters:
values- The targets this annotation applies to.- Returns:
- This object.
-