public function setAnalyzer(Analyzer $analyzer)
 {
     parent::setAnalyzer($analyzer);
     $paramParser = new ParameterParser($this->typeRegistry);
     $this->commentParser = new DocCommentParser($this->typeRegistry);
     $this->commentParser->setLogger($analyzer->logger);
     $this->classParser = new ClassParser($this->typeRegistry, $paramParser, $this->commentParser, $analyzer->logger);
     $this->classFiles = new \SplObjectStorage();
     $this->functionParser = new FunctionParser($this->typeRegistry, $paramParser);
 }