void () { resetActionIcon(); ourNewUiIcon = calculateOurNewUiIcon(); loop: for (ActionProvider provider : ActionProvider.EP_NAME.getExtensionList()) { for (UpdateAction action : provider.getUpdateActions(DataContext.EMPTY_CONTEXT)) { if (action.isNewAction()) { if (action.isIdeUpdate()) { ourShowPlatformUpdateIcon = true; } else { ourShowPluginsUpdateIcon = true; } if (ourShowPlatformUpdateIcon && ourShowPluginsUpdateIcon) { break loop; } } } } if (isAvailableInStatusBar()) { updateWidgets(); } }