Package org.apache.juneau.annotation
Class TargetedAnnotationCBuilder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder
org.apache.juneau.annotation.TargetedAnnotationBuilder
org.apache.juneau.annotation.TargetedAnnotationCBuilder
- Direct Known Subclasses:
BeancAnnotation.Builder
An implementation of an annotation that has an
on
value targeting classes/methods/fields/constructors.
See Also:
-
Constructor Summary
ConstructorDescriptionTargetedAnnotationCBuilder
(Class<? extends Annotation> annotationType) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionon
(Constructor<?>... value) Appends the constructors that this annotation applies to.The targets this annotation applies to.
-
Constructor Details
-
TargetedAnnotationCBuilder
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
Description copied from class:TargetedAnnotationBuilder
The targets this annotation applies to.- Overrides:
on
in classTargetedAnnotationBuilder
- Parameters:
values
- The targets this annotation applies to.- Returns:
- This object.
-