code: @SafeVarargs
      private static Map<Pattern, Pass> asMap(
          final Map.Entry<Pattern, Pass>... entries) {
          final Map<Pattern, Pass> map = new HashMap<>(entries.length);
          for (final Map.Entry<Pattern, Pass> ent : entries) {
              map.put(ent.getKey(), ent.getValue());
          }
          return map;
      }
docs: Convert entries to map.
  @param entries Entries
  @return Map