private function validateMethodCalls(Definition $definition) { $this->methodCallsValidator->validate($definition); }