void () { myFixture.addClass(""" package groovy.transform; @java.lang.annotation.Documented @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.ANNOTATION_TYPE, ElementType.TYPE}) public @interface AnnotationCollector { String processor() default "org.codehaus.groovy.transform.AnnotationCollectorTransform"; Class[] value() default {}; } """); }