Class AppliedAnnotationObject.BuilderC
java.lang.Object
org.apache.juneau.commons.annotation.AnnotationObject.Builder
org.apache.juneau.commons.annotation.AppliedAnnotationObject.Builder
org.apache.juneau.commons.annotation.AppliedAnnotationObject.BuilderC
- Direct Known Subclasses:
BeancAnnotation.Builder
- Enclosing class:
- AppliedAnnotationObject
Builder for applied annotations targeting constructors.
Adds constructor targeting capabilities to the base builder:
on(Constructor...)- Target by Constructor reflection objecton(ConstructorInfo...)- Target by ConstructorInfo wrapper
Example:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionon(Constructor<?>... value) Appends the constructors that this annotation applies to.on(ConstructorInfo... value) Appends the constructors 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
-
BuilderC
Constructor.- Parameters:
annotationType- The annotation type of the annotation implementation class.
-
-
Method Details
-
on
Appends the constructors that this annotation applies to.- Parameters:
value- The values to append.- Returns:
- This object.
-
on
Appends the constructors that this annotation applies to.- Parameters:
value- The values to append.- Returns:
- This object.
-