def METHOD_NAME(self, checker: BaseChecker) -> None:
    """Register all messages definitions from a checker."""
    checker.check_consistency()
    for message in checker.messages:
        self.register_message(message)