code: public static AlternateTypeRule newMapRule(Class<?> key, Class<?> value) {
      TypeResolver resolver = new TypeResolver();
      return new AlternateTypeRule(
              resolver.resolve(Map.class, key, value),
              resolver.resolve(List.class, resolver.resolve(Entry.class, key, value)),
              Ordered.LOWEST_PRECEDENCE);
    }
docs: Helper method to create a new alternate for <code>Map&lt;K,V&gt;</code> that results in an alternate of type
  <code>List&lt;Entry&lt;K,V&gt;&gt;</code>.
  
  @param key   the class that represents a key
  @param value the value
  @return the alternate type rule