/**
  * Add a route.
  *
  * @param Route $annotation
  * @return RouteConfigBuilder
  */
 public function addPart(Route $annotation)
 {
     if ($annotation instanceof Container) {
         $this->parts = array_merge($this->parts, $annotation->getChildren());
     } else {
         $this->parts[] = $annotation;
     }
     return $this;
 }