void (@NotNull LocalChangeList newChangeList) { LocalChangeList oldChangeList = myChangeList; boolean isListChanged = !oldChangeList.getId().equals(newChangeList.getId()); if (isListChanged) { LineStatusTrackerManager.getInstanceImpl(myProject).resetExcludedFromCommitMarkers(); } myChangeList = newChangeList; myChangeListChooser.setToolTipText(newChangeList.getName()); updateDisplayedChanges(); if (isListChanged && mySelectedListChangeListener != null) mySelectedListChangeListener.changeListChanged(oldChangeList, newChangeList); myInclusionModel.setChangeLists(List.of(newChangeList)); }