void (@NotNull AnActionEvent e) { String description = GitBundle.message("branches.checkout.and.rebase.onto.in.one.step", getSelectedBranchFullPresentation(myBranchName), getCurrentBranchFullPresentation(myProject, myRepositories), myBranchName); Presentation presentation = e.getPresentation(); presentation.setDescription(description); addTooltipText(presentation, description); String text = GitBundle.message("branches.checkout.and.rebase.onto.branch", getCurrentBranchTruncatedPresentation(myProject, myRepositories)); presentation.setText(text); }