Added annotation for throwing a compilation error when using access modifiers in groovy