code: private static Object injectIntoMap(Class<?> rawType, Type genericType,
                                          Annotation[] paramAnns,
                                          MultivaluedMap<String, String> processedValues,
                                          boolean decoded,
                                          ParameterType pathParam, Message message) {
          // CHECKSTYLE:ON
          ParameterizedType paramType = (ParameterizedType) genericType;
          Class<?> keyType = (Class<?>) paramType.getActualTypeArguments()[0];
          Type secondType = InjectionUtils.getType(paramType.getActualTypeArguments(), 1);
  
          if (secondType instanceof ParameterizedType) {
              MultivaluedMap<Object, Object> theValues = new MetadataMap<>();
              ParameterizedType valueParamType = (ParameterizedType) secondType;
              Class<?> valueType = (Class<?>) InjectionUtils.getType(valueParamType
                              .getActualTypeArguments(), 0);
  
              for (Map.Entry<String, List<String>> processedValuesEntry : processedValues.entrySet()) {
                  List<String> valuesList = processedValuesEntry.getValue();
                  for (String value : valuesList) {
                      Object o = InjectionUtils.handleParameter(value,
                                                                decoded, valueType, valueType, paramAnns, pathParam, message);
                      theValues.add(convertStringToPrimitive(processedValuesEntry.getKey(), keyType), o);
                  }
              }
              return theValues;
          }
          Map<Object, Object> theValues = new HashMap<>();
          Class<?> valueType =
                          (Class<?>) InjectionUtils.getType(paramType.getActualTypeArguments(), 1);
          for (Map.Entry<String, List<String>> processedValuesEntry : processedValues.entrySet()) {
              List<String> valuesList = processedValuesEntry.getValue();
              for (String value : valuesList) {
                  Object o = InjectionUtils.handleParameter(value,
                                                            decoded, valueType, valueType, paramAnns, pathParam, message);
                  theValues.put(
                                convertStringToPrimitive(processedValuesEntry.getKey(), keyType),
                                o);
              }
          }
          return theValues;
  
      }
docs: CHECKSTYLE:OFF