Class MethodHandler

    • 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.
    • Constructor Summary

      Constructors 
      Constructor Description
      MethodHandler()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private <A extends java.lang.annotation.Annotation,​R extends Rule>
      void
      doHandle​(A methodAnnotation, java.lang.annotation.Annotation annotation, java.lang.reflect.Method method, java.lang.Class<?> type, FromAnnotationsRuleSet ruleSet)  
      private void doHandle​(java.lang.annotation.Annotation methodAnnotation, java.lang.reflect.Method method, java.lang.Class<?> type, FromAnnotationsRuleSet ruleSet)  
      void handle​(java.lang.annotation.Annotation annotation, java.lang.reflect.Method element, FromAnnotationsRuleSet ruleSet)
      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

      • MethodHandler

        public MethodHandler()
    • Method Detail

      • handle

        public void handle​(java.lang.annotation.Annotation annotation,
                           java.lang.reflect.Method element,
                           FromAnnotationsRuleSet ruleSet)
        Handles the current visited element with the related current annotation.
        Specified by:
        handle in interface DigesterLoaderHandler<java.lang.annotation.Annotation,​java.lang.reflect.Method>
        Parameters:
        annotation - the current visited annotation.
        element - the current visited element.
        ruleSet - the annotations RuleSet where providers have to be added.
      • doHandle

        private void doHandle​(java.lang.annotation.Annotation methodAnnotation,
                              java.lang.reflect.Method method,
                              java.lang.Class<?> type,
                              FromAnnotationsRuleSet ruleSet)
      • doHandle

        private <A extends java.lang.annotation.Annotation,​R extends Rule> void doHandle​(A methodAnnotation,
                                                                                               java.lang.annotation.Annotation annotation,
                                                                                               java.lang.reflect.Method method,
                                                                                               java.lang.Class<?> type,
                                                                                               FromAnnotationsRuleSet ruleSet)