code: public <TEnum extends Enum<TEnum>> void setEnum(Enum<?> key, TEnum value)
      {
          if (key == null)
          {
              return;
          }
  
          setEnum(key.name(), value);
      }
docs: Equivalent to {@link #setEnum(String, Enum)
  setEnum}{@code (key.name(), value)}.
  If {@code key} is null, nothing is done.