addIncludePatterns method

Matcher addIncludePatterns(
  1. Iterable<Iterable<String>> patterns
)

Adds multiple include patterns to the matcher.

Returns the matcher for method chaining.

Implementation

Matcher addIncludePatterns(Iterable<Iterable<String>> patterns) {
  for (final patternGroup in patterns) {
    for (final pattern in patternGroup) {
      addInclude(pattern);
    }
  }
  return this;
}