void (@NotNull VirtualFileListener listener) { VirtualFileListener wrapper = myListenerWrappers.remove(listener); if (wrapper != null) { //noinspection deprecation VirtualFileManager.getInstance().removeVirtualFileListener(wrapper); } }