void () { if(!myComponent.isShowing() || !IJSwingUtilities.hasFocus(myComponent)){ hideIntentionHint(); return; } if (myHint == null || !myHint.isVisible()) { updateIntentionHintVisibility(); } else { final ErrorInfo[] errorInfos = getErrorInfos(); final Rectangle bounds = getErrorBounds(); if (!haveFixes(errorInfos) || bounds == null || !bounds.equals(myLastHintBounds)) { hideIntentionHint(); updateIntentionHintVisibility(); } } }