Interface AnnotationRuleProvider<A extends Annotation,​E extends AnnotatedElement,​R extends Rule>

    • Method Detail

      • init

        void init​(A annotation,
                  E element)
        Initializes the provider.
        Parameters:
        annotation - the annotation instance.
        element - the annotated element reference.
      • get

        R get()
        Provides an instance of Rule. Must never return null.
        Returns:
        an instance of Rule.