Class AbstractMethodHandler<A extends java.lang.annotation.Annotation>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static int SUPPORTED_ARGS
      The default args size the method has to have in order to be analyzed.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract void doBind​(java.lang.String pattern, java.lang.String namespaceURI, java.lang.reflect.Method method, java.lang.Class<?> type, boolean fireOnBegin, RulesBinder rulesBinder)  
      private void doHandle​(A methodAnnotation, java.lang.annotation.Annotation annotation, java.lang.reflect.Method method, java.lang.Class<?> type, boolean fireOnBegin, RulesBinder rulesBinder)  
      private void doHandle​(A methodAnnotation, java.lang.reflect.Method method, java.lang.Class<?> type, boolean fireOnBegin, RulesBinder rulesBinder)  
      void handle​(A annotation, java.lang.reflect.Method element, RulesBinder rulesBinder)
      Handles the current visited element with the related current annotation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SUPPORTED_ARGS

        private static final int SUPPORTED_ARGS
        The default args size the method has to have in order to be analyzed.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractMethodHandler

        AbstractMethodHandler()
    • Method Detail

      • handle

        public void handle​(A annotation,
                           java.lang.reflect.Method element,
                           RulesBinder rulesBinder)
        Handles the current visited element with the related current annotation.
        Specified by:
        handle in interface AnnotationHandler<A extends java.lang.annotation.Annotation,​java.lang.reflect.Method>
        Parameters:
        annotation - the current visited annotation.
        element - the current visited annotated element.
        rulesBinder - the annotations RulesBinder where rules have to be bound.
      • doHandle

        private void doHandle​(A methodAnnotation,
                              java.lang.reflect.Method method,
                              java.lang.Class<?> type,
                              boolean fireOnBegin,
                              RulesBinder rulesBinder)
      • doHandle

        private void doHandle​(A methodAnnotation,
                              java.lang.annotation.Annotation annotation,
                              java.lang.reflect.Method method,
                              java.lang.Class<?> type,
                              boolean fireOnBegin,
                              RulesBinder rulesBinder)
      • doBind

        protected abstract void doBind​(java.lang.String pattern,
                                       java.lang.String namespaceURI,
                                       java.lang.reflect.Method method,
                                       java.lang.Class<?> type,
                                       boolean fireOnBegin,
                                       RulesBinder rulesBinder)