/** * Visits a method node. * * @param \PDepend\Source\AST\ASTMethod $method * @return void */ public function visitMethod(ASTMethod $method) { $this->visits[] = $method->getName(); parent::visitMethod($method); }