code: public function generateMethodParameter($parameter, Context $context, $reference)
      {
          $name = Inflector::camelize($parameter->getName());
  
          list($class, $array) = $this->getClass($parameter, $context, $reference);
  
          if (null === $array || true === $array) {
              if ($class == "array") {
                  return new Node\Param($name, null, "array");
              }
  
              return new Node\Param($name);
          }
  
          return new Node\Param($name, null, $class);
      }
docs: {@inheritDoc}
  
  @param $parameter BodyParameter