java can be groovy