void (@NotNull AnActionEvent e) { VcsLogUsageTriggerCollector.triggerUsage(e, this); Change[] changes = e.getRequiredData(VcsDataKeys.CHANGES); String commitMessage = e.getData(VcsDataKeys.PRESET_COMMIT_MESSAGE); CreatePatchFromChangesAction.createPatch(e.getProject(), commitMessage, Arrays.asList(changes), mySilentClipboard); }