private static CutProvider getAvailableCutProvider(@NotNull AnActionEvent e) {
    CutProvider provider = e.getData(PlatformDataKeys.CUT_PROVIDER);
    Project project = e.getProject();
    if (project != null && provider != null && !DumbService.getInstance(project).isUsableInCurrentContext(provider)) {
      return null;
    }
    return provider;
  }
private static CutProvider getAvailableCutProvider(@NotNull AnActionEvent e)