code: public ParameterDescription[] createParameterDescriptions(
                                                       MethodDescriptor md) {
          if (md == null) {
              return null;
          }
  
          Method method = md.getMethod();
          Class<?>[] paramClasses = method.getParameterTypes();        
          int descriptionCount = paramClasses.length;
          if (acceptsSubstitution(md)) {
              descriptionCount--;
          }
  
          ParameterDescriptor[] pds = md.getParameterDescriptors();
          ParameterDescription[] descriptions = 
              new ParameterDescription[descriptionCount];
  
          for (int i = 0; i < descriptions.length; i++) {
                          
              TypeDescription type = createTypeDescription(paramClasses[i]);
              ParameterDescriptor pd = null;
              if (pds != null && i < pds.length) {
                  pd = pds[i];
              }            
  
              descriptions[i] = new ParameterDescription(type, pd, this);
          }
          
          return descriptions;
      }
docs: Returns an array of ParameterDescriptions to wrap and describe the
  parameters of the specified MethodDescriptor.