Class AbstractNodeMethodMatcher

    • Constructor Detail

    • Method Detail

      • getConformingParameters

        protected java.lang.reflect.Parameter[] getConformingParameters()
      • hasConformance

        protected boolean hasConformance()
        Checks if the arguments conform to the method.
        Specified by:
        hasConformance in class AbstractMethodMatcher
        Returns:
        conformance
      • getConformanceInjectsOrder

        protected abstract java.util.List<java.util.Set<InjectableParameter>> getConformanceInjectsOrder()
        Returns:
        injects to check against.
      • match

        protected abstract boolean match​(java.lang.reflect.Parameter[] parameters,
                                         java.lang.Object[] arguments)
        Checks if its possible to gives an array consumable by java method invoker.
        Parameters:
        parameters - array of parameter instances under question.
        arguments - instances to be verified.
        Returns:
        matches or not
      • getConformingArguments

        public java.lang.Object[] getConformingArguments()
        If possible gives an array consumable by java method invoker.
        Returns:
        conforming argument array
      • matchingArguments

        protected abstract java.lang.Object[] matchingArguments​(java.lang.reflect.Parameter[] parameters,
                                                                java.lang.Object[] arguments)
        If possible gives an array consumable by java method invoker.
        Parameters:
        parameters - array of parameter instances under question.
        arguments - instances to conform.
        Returns:
        conforming argument array