Class AppliedAnnotationObject.BuilderMF
java.lang.Object
org.apache.juneau.commons.annotation.AnnotationObject.Builder
org.apache.juneau.commons.annotation.AppliedAnnotationObject.Builder
org.apache.juneau.commons.annotation.AppliedAnnotationObject.BuilderMF
- Direct Known Subclasses:
BeanpAnnotation.Builder,NamePropertyAnnotation.Builder,ParentPropertyAnnotation.Builder
- Enclosing class:
- AppliedAnnotationObject
Builder for applied annotations targeting methods and fields.
Adds method and field targeting capabilities to the base builder:
on(Method...)- Target by Method reflection objecton(MethodInfo...)- Target by MethodInfo wrapperon(Field...)- Target by Field reflection objecton(FieldInfo...)- Target by FieldInfo wrapper
Example:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAppends the fields that this annotation applies to.Appends the methods that this annotation applies to.Appends the fields 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
-
BuilderMF
Constructor.- Parameters:
annotationType- The annotation type of the annotation implementation class.
-
-
Method Details
-
on
Appends the fields that this annotation applies to.- Parameters:
value- The values to append.- Returns:
- This object.
-
on
Appends the fields 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.
-
on
Appends the methods that this annotation applies to.- Parameters:
value- The values to append.- Returns:
- This object.
-