/** * Returns <b>true</b> when the given node is an abstract method. * * @param AbstractNode2 $node * @return boolean */ private function isAbstractMethod(AbstractNode $node) { if ($node instanceof MethodNode) { return $node->isAbstract(); } return false; }