Icon (@NotNull RunnerAndConfigurationSettings settings, boolean invalid) { Icon icon = getRawIcon(settings); Icon configurationIcon = settings.isTemporary() ? getTemporaryIcon(icon) : icon; if (invalid) { return new InvalidRunConfigurationIcon(configurationIcon); } return configurationIcon; }