DefaultTreeModel (@Nullable Project project, @NotNull ChangesGroupingPolicyFactory grouping, @NotNull Collection<? extends FilePath> filePaths) { return new TreeModelBuilder(project, grouping) .setFilePaths(filePaths) .build(); }