Class TargetedAnnotationCBuilder<B extends TargetedAnnotationCBuilder<B>>

Type Parameters:
B - The actual builder class.
Direct Known Subclasses:
BeancAnnotation.Builder

public class TargetedAnnotationCBuilder<B extends TargetedAnnotationCBuilder<B>> extends TargetedAnnotationBuilder<B>
An implementation of an annotation that has an on value targeting classes/methods/fields/constructors.
See Also:
  • Constructor Details

    • TargetedAnnotationCBuilder

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

    • on

      public B on(Constructor<?>... value)
      Appends the constructors that this annotation applies to.
      Parameters:
      value - The values to append.
      Returns:
      This object.