Class AppliedAnnotationObject.BuilderM
java.lang.Object
org.apache.juneau.commons.annotation.AnnotationObject.Builder
org.apache.juneau.commons.annotation.AppliedAnnotationObject.Builder
org.apache.juneau.commons.annotation.AppliedAnnotationObject.BuilderM
- 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
- Enclosing class:
- AppliedAnnotationObject
Builder for applied annotations targeting methods.
Adds method targeting capabilities to the base builder:
on(Method...)- Target by Method reflection objecton(MethodInfo...)- Target by MethodInfo wrapper
Example:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAppends the methods that this annotation applies to.on(MethodInfo... value) Appends the methods that this annotation applies to.Methods inherited from class org.apache.juneau.commons.annotation.AppliedAnnotationObject.Builder
onMethods inherited from class org.apache.juneau.commons.annotation.AnnotationObject.Builder
getAnnotationType
-
Constructor Details
-
BuilderM
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
Appends the methods that this annotation applies to.- Parameters:
value- The values to append.- Returns:
- This object.
-