public void performAtomicChange(@NotNull Runnable change) {
   mySemService.performAtomicChange(change);
   if (!mySemService.isInsideAtomicChange()) {
     myModificationCount++;
   }
 }
 final void fireEvent(DomEvent event) {
   if (mySemService.isInsideAtomicChange()) return;
   myModificationCount++;
   myListeners.getMulticaster().eventOccured(event);
 }