Consider the following:
import groovy.transform.AnnotationCollector
import groovy.transform.Final
import groovy.transform.PackageScope
import groovy.transform.PackageScopeTarget
@Final
@PackageScope([
PackageScopeTarget.CLASS,
PackageScopeTarget.METHODS,
PackageScopeTarget.CONSTRUCTORS
])
@AnnotationCollector
@interface GroovyJupiter {
}
When making a source reference to this annotation, the compiler throws an error.

Consider the following:
When making a source reference to this annotation, the compiler throws an error.