code: public String[] getLabels(Matcher matcher) {
          if ((matcher instanceof AnyOfMatcher) && ((AnyOfMatcher)matcher).characters.toString().equals(matcher.getLabel())) {
              AnyOfMatcher cMatcher = (AnyOfMatcher) matcher;
              if (!cMatcher.characters.isSubtractive()) {
                  String[] labels = new String[cMatcher.characters.getChars().length];
                  for (int i = 0; i < labels.length; i++) {
                      labels[i] = '\'' + String.valueOf(cMatcher.characters.getChars()[i]) + '\'';
                  }
                  return labels;
              }
          }
          return new String[] {matcher.getLabel()};
      }
docs: Gets the labels corresponding to the given matcher, AnyOfMatchers are treated specially in that their
  label is constructed as a list of their contents
  
  @param matcher the matcher
  @return the labels