boolean (@NotNull Transferable t, @Nullable Editor editor) { List<File> list = FileCopyPasteUtil.getFileList(t); if (list == null || list.size() != 1) return false; return PatchFileType.isPatchFile(list.get(0)); }