public void doStuffReuse() {
   event.reset();
   event.begin();
   String importantResultInStuff = "";
   // Generate the string, then set it...
   event.setText(importantResultInStuff);
   event.end();
   event.commit();
 }
 public void doStuff() {
   MyEvent event = new MyEvent(myToken);
   event.begin();
   String importantResultInStuff = "";
   // Generate the string, then set it...
   event.setText(importantResultInStuff);
   event.end();
   event.commit();
 }