GROOVY-6019: Cross compilation of Groovy annotation on Java class does n...

...ot work