void () { List<VirtualFile> addedFiles = myProcessor.acquireAddedFiles(); Map<VirtualFile, VirtualFile> copyFromMap = myProcessor.acquireCopiedFiles(); LOG.debug("executeAdd. addedFiles: ", addedFiles); VcsShowConfirmationOption.Value addOption = myAddOption.getValue(); if (addOption == VcsShowConfirmationOption.Value.DO_NOTHING_SILENTLY) return; addedFiles.removeIf(myVcsIgnoreManager::isPotentiallyIgnoredFile); if (addedFiles.isEmpty()) return; executeAdd(addedFiles, copyFromMap); }