Class DirectMethodMatcher

    • Method Detail

      • match

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

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