Interface AnnotationRuleProvider<A extends java.lang.annotation.Annotation,​E extends java.lang.reflect.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.