void (@NotNull String branchName, @NotNull String otherBranchName, @NotNull List<? extends GitRepository> repositories) { new GitCompareBranchesUi(myProject, repositories, branchName, otherBranchName).open(); }