Annotation[] anns; if (inbound) { int index = getRequestBodyParam(ori).getIndex(); anns = opMethod.getParameterAnnotations()[index]; if (!isDocAvailable(anns)) { Parameter p = inbound ? getRequestBodyParam(ori) : new Parameter(ParameterType.REQUEST_BODY, 0, "result"); doWriteParam(sb, p, type, type, p.getName() == null ? "request" : p.getName(), anns, isJson); if (isCollection) { theActualType = InjectionUtils.getActualType(!inbound ? opMethod.getGenericReturnType() : opMethod .getGenericParameterTypes()[getRequestBodyParam(ori).getIndex()]); } else { theActualType = ResourceUtils.getActualJaxbType(type, opMethod, inbound);
Type genericType; if (inbound) { inParamIndex = getRequestBodyParam(ori).getIndex(); anns = opMethod.getParameterAnnotations()[inParamIndex]; if (!isDocAvailable(anns)) { Parameter p = inbound ? getRequestBodyParam(ori) : new Parameter(ParameterType.REQUEST_BODY, 0, "result"); doWriteParam(ori, sb, p, type, type, p.getName() == null ? "request" : p.getName(), anns, isJson);
Type genericType; if (inbound) { inParamIndex = getRequestBodyParam(ori).getIndex(); anns = opMethod.getParameterAnnotations()[inParamIndex]; if (!isDocAvailable(anns)) { Parameter p = inbound ? getRequestBodyParam(ori) : new Parameter(ParameterType.REQUEST_BODY, 0, "result"); doWriteParam(ori, sb, p, type, type, p.getName() == null ? "request" : p.getName(), anns, isJson);