@Override
  public void invoke(@NotNull Project project, PsiElement @NotNull [] elements, DataContext dataContext) {
    Editor editor = null;
    if (dataContext != null) {
      editor = CommonDataKeys.EDITOR.getData(dataContext);
    }
    invokeInner(project, elements, editor);
  }
@Override
  public void invoke(@NotNull Project project, PsiElement @NotNull [] elements, DataContext dataContext)