Icon (IntentionActionWithTextCaching value) { Icon icon = getOriginalIconFor(value); if (icon == null || icon instanceof EmptyIcon) { icon = EmptyIcon.create(myMaxIconSize.width, myMaxIconSize.height); } return icon; }