during an Xtend transformation I've created a lot of objects. In one
function, some of them get optimized away, so I delete them from their
eContainer.
Then I get an exception saying that an Element is not contained by any
resource.
How can I avoid such exception? I just want to create and delete an
object within the same Xtend transformation. Is that not possible?