void (final @NotNull VirtualFile schemaFile) { if (JsonFileType.DEFAULT_EXTENSION.equals(schemaFile.getExtension())) { myDirtySchemas.add(schemaFile); Application app = ApplicationManager.getApplication(); if (app.isUnitTestMode()) { app.invokeLater(myRunnable, myProject.getDisposed()); } else { myUpdater.queue(myRunnable); } } }