docs: @NotNull
      protected Map<String, Object> toParameterTypes(ParameterElement... parameters) {
          final LinkedHashMap<String, Object> map = new LinkedHashMap<>(parameters.length);
          for (ParameterElement ce : parameters) {
              final ClassElement type = ce.getType();
              if (type == null) {
                  continue;
              }
              final Type typeReference = getTypeForElement(type);
              map.put(ce.getName(), typeReference);
          }
  
          return map;
      }