private function validateArgumentCompatibility(ArgumentDefinition $interface, ArgumentDefinition $object): void
    {
        $this->getValidator(Inheritance::class)->validate($object, $interface);
    }