(object != null ? object.getClass() : null), genericType, annotations, mediaType)); if (!mediaType.isConcrete()) { throw new IllegalArgumentException(mediaType + " is not concrete");
if (mediaType.isConcrete()) return mediaType;
|| !result.getMediaType().isConcrete()) { if ((target.getMediaType() != null) && target.getMediaType().isConcrete()) { result.setMediaType(target.getMediaType()); } else if (resource != null) {