/** * Tests if the given <b>$node</b> is a method and if this method is also * the initial declaration. * * @param \PHPMD\AbstractNode $node * @return boolean * @since 1.2.1 */ private function isNotDeclaration(AbstractNode $node) { if ($node instanceof MethodNode) { return !$node->isDeclaration(); } return false; }