public function setContent(AbstractClassContent $content = null)
    {
        $this->_content = $content;

        if (null !== $this->_content) {
            $this->setClassname(ClassUtils::getRealClass($this->_content));
        }

        return $this->getContentInstance();
    }