I am integrating traces using @Traced in our DSL. In some corner case, I'd rather get the toString (but without the TraceNode strings) that having to rewrite the generator. For instance, when the level of granularity is too low to be interessting. Let me add that I do not have the related EObject node.
In other words, how can I take a StringConcetationClient and simply get the string representation without the traces information?
This is especially usefull in my case when I reuse some expression generator that are sometimes important to be traced and sometimes not.
Yes the problem with that is that I need the EObject element in one way or another. I just would like to be able to do a toString on the StringConcatenationClient discarding all trace information and only getting the code.
Ok thanks anyway for looking at it. It would be great to think of a way to do that as it would ease the migration effort by not having to enable tracing everywhere from day 1. Furthermore, I might be wrong but I do not see a way to rely on the xbase test helpers with tracing as everything is String based.