void () { addSubtreeToUpdate(node); // at this point some tree updates may already have been run as a result of // in tests these updates may lead to the instance disposal, so getUpdater() at the next line may return null AbstractTreeUpdater updater = getUpdater(); if (updater != null) { updater.performUpdate(); } }