public function getPHPHint($namespaceContext = NULL) {
    if (!isset($this->class)) {
      return '\stdClass';
    }

    if (isset($namespaceContext) && trim($this->class->getNamespace(),'\\') === trim($namespaceContext,'\\')) {
      return $this->class->getName();
    }

    return '\\'.$this->class->getFQN();
  }