void (@NotNull List<String> urls, @Nullable Disposable disposable) { Application app = ApplicationManager.getApplication(); if (app.isWriteAccessAllowed()) { doAddIgnoredResources(urls, disposable); } else { app.runWriteAction(() -> doAddIgnoredResources(urls, disposable)); } }