Worked like a charm. I used my derived groovyclassloader to create my own
compile unit that overrides the default resolve visitor with my own resolve
visitor that first resolves per my needs and then calls the default resolve
visitor to close out every else.
Thank you for your response
Regards
O
You might run your transformation in (at least) 2 phases. In the first phase,
you can mark or replace ClassNode instances that you expect to fill in as
resolved or primary. ResolveVisitor checks isResolved() and
isPrimaryClassNode() first.
-Original Message-
From: Saravanan Palanicham
Hello everyone
My DSL that uses AST transformations has this quirk
* A Groovy script defines classes and uses other classes from the class path
* I want to be able to replace all these types during compile with my own
standard class definition
* If I have the types I am replacing in the class pat