void (@NotNull List<VirtualFile> addedFiles, @NotNull Map<VirtualFile, VirtualFile> copyFromMap) { if (ApplicationManager.getApplication().isDispatchThread()) { // backward compatibility with plugins ApplicationManager.getApplication().executeOnPooledThread(() -> { performAddingWithConfirmation(addedFiles, copyFromMap); }); } else { performAddingWithConfirmation(addedFiles, copyFromMap); } }