DefaultTreeModel (@Nullable Project project, @NotNull ChangesGroupingPolicyFactory grouping, @NotNull Collection<? extends VirtualFile> virtualFiles) { return new TreeModelBuilder(project, grouping) .setVirtualFiles(virtualFiles, null) .build(); }