public static void addFilesToVcsWithConfirmation(@NotNull Project project, VirtualFile... virtualFiles) {
    addFilesToVcsWithConfirmation(project, Arrays.asList(virtualFiles));
  }
public static void addFilesToVcsWithConfirmation(@NotNull Project project, VirtualFile... virtualFiles)