public void reset(boolean restorePaths) {
    if (restorePaths) {
      runActionWithPathsRestore(() -> myStructureModel.invalidateAsync());
    }
    else {
      myStructureModel.invalidateAsync();
    }
  }
public void reset(boolean restorePaths)