Package org.apache.juneau.commons
Class AppliedAnnotationObject.BuilderM
java.lang.Object
org.apache.juneau.commons.AnnotationObject.Builder
org.apache.juneau.commons.AppliedAnnotationObject.Builder
org.apache.juneau.commons.AppliedAnnotationObject.BuilderM
- Direct Known Subclasses:
BeanAnnotation.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.AppliedAnnotationObject.Builder
onMethods inherited from class org.apache.juneau.commons.AnnotationObject.Builder
getAnnotationType
-
Constructor Details
-
BuilderM
Constructor.- Parameters:
annotationType- The annotation type of the annotation implementation class. Must not benull .
-
-
Method Details
-
on
Appends the methods that this annotation applies to.- Parameters:
value- The values to append. Cannot benull or containnull elements.- Returns:
- This object.
-
on
Appends the methods that this annotation applies to.- Parameters:
value- The values to append. Cannot benull or containnull elements.- Returns:
- This object.
-