/**
  * Parse existing comments for searching types or comments for property
  *
  * @param CComponent $object
  */
 public function setTypeAndComment(CComponent $object)
 {
     if ($object instanceof CActiveRecord) {
         $scopes = $object->scopes();
         if (isset($scopes[$this->name])) {
             $this->type = get_class($object);
         }
     }
 }