void (@NotNull Project project, @NotNull FileHistoryModel model, @NotNull VcsCommitMetadata detail, @NotNull AnActionEvent e) { VcsKey vcsKey = e.getRequiredData(VcsDataKeys.VCS); VcsFileRevision revision = model.createRevision(detail); VirtualFile vcsVirtualFile = FileHistoryUtil.createVcsVirtualFile(revision); if (!VcsHistoryUtil.isEmpty(revision) && vcsVirtualFile != null) { AnnotateRevisionActionBase.annotate(vcsVirtualFile, revision, Objects.requireNonNull(VcsUtil.findVcsByKey(project, vcsKey)), null, 0); } }