Package org.apache.juneau.annotation
Class TargetedAnnotationTMFBuilder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder
org.apache.juneau.annotation.TargetedAnnotationBuilder
org.apache.juneau.annotation.TargetedAnnotationTBuilder
org.apache.juneau.annotation.TargetedAnnotationTMFBuilder
- Direct Known Subclasses:
CsvAnnotation.Builder
,ExampleAnnotation.Builder
,FormDataAnnotation.Builder
,HeaderAnnotation.Builder
,HtmlAnnotation.Builder
,JsonAnnotation.Builder
,MsgPackAnnotation.Builder
,OpenApiAnnotation.Builder
,PathAnnotation.Builder
,PlainTextAnnotation.Builder
,QueryAnnotation.Builder
,SchemaAnnotation.Builder
,SoapXmlAnnotation.Builder
,SwapAnnotation.Builder
,TargetedAnnotationTMFCBuilder
,UonAnnotation.Builder
,UriAnnotation.Builder
,UrlEncodingAnnotation.Builder
,XmlAnnotation.Builder
An implementation of an annotation that has an
on
value targeting classes/methods/fields/constructors.
See Also:
-
Constructor Summary
ConstructorDescriptionTargetedAnnotationTMFBuilder
(Class<? extends Annotation> annotationType) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionAppends the classes that this annotation applies to.Appends the fields that this annotation applies to.Appends the methods that this annotation applies to.The targets this annotation applies to.Appends the classes that this annotation applies to.
-
Constructor Details
-
TargetedAnnotationTMFBuilder
Constructor.- Parameters:
annotationType
- The annotation type of the annotation implementation class.
-
-
Method Details
-
on
Appends the methods 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
Description copied from class:TargetedAnnotationBuilder
The targets this annotation applies to.- Overrides:
on
in classTargetedAnnotationTBuilder
- Parameters:
values
- The targets this annotation applies to.- Returns:
- This object.
-
on
Description copied from class:TargetedAnnotationTBuilder
Appends the classes that this annotation applies to.- Overrides:
on
in classTargetedAnnotationTBuilder
- Parameters:
value
- The values to append.- Returns:
- This object.
-
onClass
Description copied from class:TargetedAnnotationTBuilder
Appends the classes that this annotation applies to.- Overrides:
onClass
in classTargetedAnnotationTBuilder
- Parameters:
value
- The values to append.- Returns:
- This object.
-