code: private String[] createArchivesArray() {
          Collection<String> archiveExtensions = new ArrayList<>();
          archiveExtensions.addAll(ZIP_EXTENSIONS);
          archiveExtensions.addAll(GEM_EXTENSIONS);
          archiveExtensions.addAll(TAR_EXTENSIONS);
  
          String[] archiveIncludesPattern = new String[archiveExtensions.size()];
          int i = 0;
          for (String extension : archiveExtensions) {
              archiveIncludesPattern[i++] = GLOB_PATTERN_PREFIX + extension;
          }
          return archiveIncludesPattern;
      }
docs: /* --- Private methods ---