AsyncChangesTreeModel () { return SimpleAsyncChangesTreeModel.create(grouping -> { Collection<Change> allChanges = ChangeListManager.getInstance(myProject).getAllChanges(); List<Change> newChanges = ContainerUtil.filter(allChanges, myOriginalChanges::contains); RemoteStatusChangeNodeDecorator decorator = RemoteRevisionsCache.getInstance(myProject).getChangesNodeDecorator(); return TreeModelBuilder.buildFromChanges(myProject, grouping, newChanges, decorator); }); }