private function classMethod($doc_comment, ModifiersNode $modifiers) {
    $node = new ClassMethodNode();
    $node->mergeNode($doc_comment);
    $node->mergeNode($modifiers);
    $this->mustMatch(T_FUNCTION, $node);
    $this->tryMatch('&', $node, 'reference');
    $this->mustMatch(T_STRING, $node, 'name');
    $this->parameterList($node);
    if ($modifiers->getAbstract()) {
      $this->endStatement($node);
      return $node;
    }
    $this->matchHidden($node);
    $this->body($node);
    return $node;
  }