public static void invoke(@NotNull Project project, PsiElement @NotNull [] elements, boolean checkDelegates, @Nullable Runnable successRunnable) {
    invoke(project, elements, null, checkDelegates, successRunnable, null);
  }
public static void invoke(@NotNull Project project, PsiElement @NotNull [] elements, boolean checkDelegates, @Nullable Runnable successRunnable)