Need help understanding some Mox source code

Digging through the source history, that generated call to module_info predates the use of @behaviour and was originally introduced to ensure that the generated module recompiled at the correct times:

https://github.com/dashbitco/mox/issues/23

A generated @behaviour line was added later, and without disturbing the existing line:

https://github.com/dashbitco/mox/pull/90