void (@NotNull VFileCopyEvent event) { VirtualFile newFile = event.getNewParent().findChild(event.getNewChildName()); if (newFile == null || myChangeListManager.isIgnoredFile(newFile)) return; VirtualFile originalFile = event.getFile(); if (isFileCopyingFromTrackingSupported() && isUnderMyVcs(originalFile)) { withLock(PROCESSING_LOCK.writeLock(), () -> { myAddedFiles.add(newFile); myCopyFromMap.put(newFile, originalFile); }); } else { withLock(PROCESSING_LOCK.writeLock(), () -> { myAddedFiles.add(newFile); }); } }