void (@NotNull Project project, @NotNull FileHistoryModel model, @NotNull VcsCommitMetadata detail, @NotNull AnActionEvent e) { VirtualFile file = FileHistoryUtil.createVcsVirtualFile(model.createRevision(detail)); if (file != null) { OpenSourceUtil.navigate(true, new OpenFileDescriptor(project, file)); } }