Currently, AST transforms are disabled when run as part of a reconcile operation. However, this means that some valid code will be seen as errors when viewed in the editor (even thought the groovy script/application will run correctly when launched).
There should be a way of determining that certain AST transforms are "safe" to run in the editor. "Safe" transforms are ones that only require local state and are purely additive. Things like @Delegate and @Singleton would be safe, byt things like @Lazy would not (since code blocks get moved around).