GROOVY-4485: enum does not support default map constructors (minor refactor - delay implicit map constructor addition until a later phase to minimise interactions with other AST transforms)