List<Change> (@NotNull Project project, @NotNull List<? extends Change> changes) { List<Change> actualChanges = new ArrayList<>(); for (Change change : changes) { actualChanges.addAll(ChangeListManager.getInstance(project).getChangesIn(ChangesUtil.getFilePath(change))); } return actualChanges; }