Class TargetedAnnotationTMBuilder<B extends 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 Details

    • TargetedAnnotationTMBuilder

      public TargetedAnnotationTMBuilder(Class<? extends Annotation> annotationType)
      Constructor.
      Parameters:
      annotationType - The annotation type of the annotation implementation class.
  • Method Details

    • on

      public B on(Method... value)
      Appends the methods that this annotation applies to.
      Parameters:
      value - The values to append.
      Returns:
      This object.