Package org.apache.juneau.annotation
Class TargetedAnnotationTMBuilder<B extends TargetedAnnotationTMBuilder<B>>
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationTBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationTMBuilder<B>
- Type Parameters:
B
- The actual builder class.
- Direct Known Subclasses:
ContentAnnotation.Builder
,ResponseAnnotation.Builder
,StatusCodeAnnotation.Builder
public class TargetedAnnotationTMBuilder<B extends TargetedAnnotationTMBuilder<B>>
extends TargetedAnnotationTBuilder<B>
An implementation of an annotation that has an
on
value targeting classes/methods/fields/constructors.
See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTargetedAnnotationTMBuilder
(Class<? extends Annotation> annotationType) Constructor. -
Method Summary
Methods inherited from class org.apache.juneau.annotation.TargetedAnnotationTBuilder
on, onClass
Methods inherited from class org.apache.juneau.annotation.TargetedAnnotationBuilder
on
Methods inherited from class org.apache.juneau.annotation.AnnotationBuilder
asThis, description
-
Constructor Details
-
TargetedAnnotationTMBuilder
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.
-