public function shouldTraverse(NodeTraversal $t, \PHPParser_Node $node, \PHPParser_Node $parent = null)
 {
     if (!isset($this->importedClasses[''])) {
         $this->gatherNamespaceInfo($node);
     }
     return parent::shouldTraverse($t, $node, $parent);
 }
 public function shouldTraverse(NodeTraversal $t, \PHPParser_Node $node, \PHPParser_Node $parent = null)
 {
     if ($node instanceof \PHPParser_Node_Stmt_Namespace) {
         $this->importedClasses = array('' => $node->name ? implode("\\", $node->name->parts) : '');
     } else {
         if ($node instanceof \PHPParser_Node_Stmt_UseUse) {
             $this->importedClasses[$node->alias] = implode("\\", $node->name->parts);
         }
     }
     return parent::shouldTraverse($t, $node, $parent);
 }