private void setConfigurationIcon(Object variant) {
    if (!(variant instanceof Icon)) return;

    myConsumer.consume(new RunConfigurationTypeExtension((Icon)variant));
  }
private void setConfigurationIcon(Object variant)