public function isConstructor()
    {
        $name = explode('\\', $this->declaringClass->getName());
        $name = array_pop($name);

        return in_array($this->getShortName(), array('__construct', $name));
    }