Package org.apache.juneau.annotation
Class TargetedAnnotationTBuilder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder
org.apache.juneau.annotation.TargetedAnnotationBuilder
org.apache.juneau.annotation.TargetedAnnotationTBuilder
- Direct Known Subclasses:
BeanAnnotation.Builder
,HtmlLinkAnnotation.Builder
,MarshalledAnnotation.Builder
,RequestAnnotation.Builder
,RestAnnotation.Builder
,TargetedAnnotationTMBuilder
,TargetedAnnotationTMFBuilder
An implementation of an annotation that has an
on
value targeting classes/methods/fields/constructors.
See Also:
-
Constructor Summary
ConstructorDescriptionTargetedAnnotationTBuilder
(Class<? extends Annotation> annotationType) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionAppends the classes that this annotation applies to.The targets this annotation applies to.Appends the classes that this annotation applies to.
-
Constructor Details
-
TargetedAnnotationTBuilder
Constructor.- Parameters:
annotationType
- The annotation type of the annotation implementation class.
-
-
Method Details
-
on
Appends the classes that this annotation applies to.- Parameters:
value
- The values to append.- Returns:
- This object.
-
onClass
Appends the classes 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.
-