docs: private <T> boolean matchesWriterMediaTypes(ProviderInfo<MessageBodyWriter<?>> pi,
                                                  MediaType mediaType) {
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
              Tr.debug(tc, "matchesWriterMediaTypes ",  new Object[]{pi, mediaType});
          }
          MessageBodyWriter<?> ep = pi.getProvider();
          List<MediaType> supportedMediaTypes = JAXRSUtils.getProviderProduceTypes(ep);
  
          return JAXRSUtils.doMimeTypesIntersect(Collections.singletonList(mediaType), supportedMediaTypes);
      }