GROOVY-5911: Add @CompileDynamic annotation