void () { ApplicationManager.getApplication().executeOnPooledThread(() -> { try { myOverridingStatus.getLock().lock(); List<CodeStyleSettingsModifier> modifiers = getOverridingModifiers(); if (modifiers.size() > 0) { myOverridingStatus.update(modifiers); } else { myOverridingStatus.reset(); } } finally { myOverridingStatus.getLock().unlock(); } myDispatcher.getMulticaster().overridingStatusChanged(); }); }