private function getFqsenFromNamedNode(Node\Name $node)
{
$objectType = (new FindTypeFromAst())->__invoke($node, $this->locatedSource, $this->getNamespaceName());
if (null === $objectType || !$objectType instanceof Object_) {
throw new \Exception('Unable to determine FQSEN for named node');
}
return $objectType->getFqsen()->__toString();
}