[groovy] do not increment Java Structure modification count in method