code: protected static Object[] getMatcherStatementArgs(int matchedCount) {
      TypeName matcher = ParameterizedTypeName.get(ClassName.get(Matcher.class), TypeName.OBJECT);
      TypeName listOfMatchers = ParameterizedTypeName.get(ClassName.get(List.class), matcher);
      TypeName lists = TypeName.get(Lists.class);
      TypeName argumentMatchers = TypeName.get(ArgumentMatchers.class);
  
      return Stream.concat(
          ImmutableList.of(listOfMatchers, lists).stream(),
          IntStream.range(0, matchedCount)
              .mapToObj(i -> argumentMatchers)
      ).toArray(s -> new TypeName[s]);
    }
docs: Returns the statement arguments for the match method matcher statement.