Replaced reflection with groovy @ operator