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