public static void invoke(@NotNull PsiElement element,
                            @NotNull Project project,
                            PsiElement nameSuggestionContext,
                            @Nullable Editor editor,
                            boolean checkInProject) {
    invoke(element, project, nameSuggestionContext, List.of(), editor, checkInProject);
  }
public static void invoke(@NotNull PsiElement element,
                            @NotNull Project project,
                            PsiElement nameSuggestionContext,
                            @Nullable Editor editor,
                            boolean checkInProject)