}
@Override
public BrutauthMethod search(CustomBrutauthRule ruleToSearch, Argument...arguments) {
try {
NamedParametersMethod defaultMethod = defaultMethodSearcher.getMethod(ruleToSearch);
Parameter[] classes = defaultMethod.getParameters();
Argument[] matchedArguments = matcher.getValuesMatchingParameters(classes, arguments);
return new BrutauthMethod(matchedArguments, defaultMethod.getMethod(), ruleToSearch);
} catch (NoSuchMethodException e) {
return null;
}
}