So you are programming Java in Groovy? That doesn't seem like a great idea. I guess it would be a good idea to add this to the style guide, but o.t.o.h. just adding every possible questionable pattern to the guide is not going to work.