Package org.apache.juneau.annotation
Class AnnotationBuilder<B extends AnnotationBuilder<B>>
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder<B>
- Type Parameters:
B
- The actual builder class.
- Direct Known Subclasses:
ContactAnnotation.Builder
,ExternalDocsAnnotation.Builder
,HasFormDataAnnotation.Builder
,HasQueryAnnotation.Builder
,ItemsAnnotation.Builder
,LicenseAnnotation.Builder
,OpSwaggerAnnotation.Builder
,SubItemsAnnotation.Builder
,SwaggerAnnotation.Builder
,TagAnnotation.Builder
,TargetedAnnotationBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected B
asThis()
Returns this instance typed asB
.description
(String... value) Sets theAnnotationImpl.description()
property on the target annotation.
-
Constructor Details
-
AnnotationBuilder
Constructor.- Parameters:
annotationType
- The annotation type of the annotation implementation class.
-
-
Method Details
-
asThis
Returns this instance typed asB
.- Returns:
- this instance typed as
B
. - Since:
- 9.2.0
-
description
Sets theAnnotationImpl.description()
property on the target annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
- Since:
- 9.2.0
-