Use @CompileStatic for delegate methods