VirtualFile (@NotNull VFileEvent event) { VirtualFile file = event.getFile(); if (event instanceof VFileCopyEvent) { file = ((VFileCopyEvent)event).getNewParent().findChild(((VFileCopyEvent)event).getNewChildName()); } return file; }