Class DirectMethodMatcher

All Implemented Interfaces:
MethodMatcher

public class DirectMethodMatcher extends AbstractNodeMethodMatcher
Checks for method argument match with or without filtering injectables.
  • Constructor Details

  • Method Details

    • getConformanceInjectsOrder

      protected List<Set<InjectableParameter>> getConformanceInjectsOrder()
      Specified by:
      getConformanceInjectsOrder in class AbstractNodeMethodMatcher
      Returns:
      injects to check against.
    • match

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