public function setName($name) {
    if (mb_strpos($name,'\\') !== FALSE) {
      $this->setNamespace(Code::getNamespace($name));
      $this->name = Code::getClassName($name);
    } else {
      $this->name = $name;
      $this->namespace = NULL;
    }
    return $this;
  }