code: private ResourceMethod interpretResourceMethod(final MethodResult methodResult, final ClassResult classResult) {
          final MethodComment methodDoc = methodResult.getMethodDoc();
  
          final String description = methodDoc != null ? methodDoc.getComment() : null;
          final ResourceMethod resourceMethod = new ResourceMethod(methodResult.getHttpMethod(), description);
          updateMethodParameters(resourceMethod.getMethodParameters(), classResult.getClassFields());
          updateMethodParameters(resourceMethod.getMethodParameters(), methodResult.getMethodParameters());
  
          addParameterDescriptions(resourceMethod.getMethodParameters(), methodDoc);
          stringParameterResolver.replaceParametersTypes(resourceMethod.getMethodParameters());
  
          if (methodResult.getRequestBodyType() != null) {
              resourceMethod.setRequestBody(javaTypeAnalyzer.analyze(methodResult.getRequestBodyType()));
              resourceMethod.setRequestBodyDescription(findRequestBodyDescription(methodDoc));
          }
  
          // add default status code due to JSR 339
          addDefaultResponses(methodResult);
  
          methodResult.getResponses().forEach(r -> interpretResponse(r, resourceMethod));
  
          addResponseComments(methodResult, resourceMethod);
  
          addMediaTypes(methodResult, classResult, resourceMethod);
  
          if (methodResult.isDeprecated() || classResult.isDeprecated() || hasDeprecationTag(methodDoc))
              resourceMethod.setDeprecated(true);
  
          return resourceMethod;
      }
docs: Interprets the result of a resource method.
  
  @param methodResult The method result
  @param classResult  The result of the containing class
  @return The resource method which this method represents