test referenced type for an untyped collection
GRAILS-11280 - allow @GrailsCompileStatic with a static mapping block