@Override
    public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
      super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus);
      if (value instanceof BeforeRunTask<?> task) {
        //noinspection rawtypes
        BeforeRunTaskProvider provider = getProvider(myRunConfiguration.getProject(), task.getProviderId());
        if (provider == null) {
          provider = new UnknownBeforeRunTaskProvider(task.getProviderId().toString());
        }
        //noinspection unchecked
        Icon icon = provider.getTaskIcon(task);
        setIcon(icon != null ? icon : provider.getIcon());
        //noinspection unchecked
        setText(provider.getDescription(task));
      }
      return this;
    }
@Override
    public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)