Make the private helpers of static command handlers static

Proprietary

AxonIQ's recipes turn the @CommandHandler constructor that creates an aggregate into Axon Framework 5's static command handler. A private method of the aggregate that it calls, and that uses no instance state, is made static so that the handler can still call it.

io.moderne.axon.MakeCreationHandlerHelpersStatic
mod run . --recipe=io.moderne.axon.MakeCreationHandlerHelpersStatic

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.