Class AbstractNodeMethodMatcher

    • Constructor Detail

    • Method Detail

      • getConformingParameters

        protected 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 List<Set<InjectableParameter>> getConformanceInjectsOrder()
        Returns:
        injects to check against.
      • match

        protected abstract boolean match​(Parameter[] parameters,
                                         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 Object[] getConformingArguments()
        If possible gives an array consumable by java method invoker.
        Returns:
        conforming argument array
      • matchingArguments

        protected abstract Object[] matchingArguments​(Parameter[] parameters,
                                                      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