GROOVY-6300: JavaStubGenerator breaks instance initializers