VirtualFile[] (final TransferSupport support) { List<VirtualFile> virtualFileList = new ArrayList<>(); final List<File> fileList = FileCopyPasteUtil.getFileList(support.getTransferable()); if (fileList != null) { for (File file : fileList ) { ContainerUtil.addIfNotNull(virtualFileList, VfsUtil.findFileByIoFile(file, true)); } } return VfsUtilCore.toVirtualFileArray(virtualFileList); }