protected function getConsolidatedMethods()
        {
            if ($this->consolidatedMethods !== null) {
                return $this->consolidatedMethods;
            }

            $methods = $this->methods;

            if ($this->parent) {
                $methods += $this->parent->getConsolidatedMethods();
            }

            return $this->consolidatedMethods = $methods;
        }