GROOVY-7078: make @Immutable play nice with constructor injection