void (@NotNull VirtualFile file) { if (myRecentData != null) { myRecentData.fileMovedOutsideProject(file); } myCopyPasteManager.removeIf(transferable -> transferable instanceof MyTransferable && !((MyTransferable)transferable).myDataProxy.isValid()); }