docs: @UsedByGeneratedCode
      public static Map mapOf(Object... values) {
          int len = values.length;
          if (len % 2 != 0) {
              throw new IllegalArgumentException("Number of arguments should be an even number representing the keys and values");
          }
  
          Map answer = new LinkedHashMap(len / 2);
          int i = 0;
          while (i < values.length - 1) {
              answer.put(values[i++], values[i++]);
          }
          return answer;
      }