I'd like to make a rewrite rule which, for a given method, rewrites it and create another method.

Is it possible with your tool?

Hi��Thierry.

Now tool just rewrites existing methods (consider it as when you apply refactoring), however it's easy to add such a functionality like you suggested. I think, we could have a feature, that takes method code as an input, applies transformation rule to this code, and creates new method with resulting code. Not sure how it fits into tool, but I will consider this.
Thanks for interest.

Mark