code: public int getInt(Enum<?> key, int defaultValue)
      {
          if (key == null)
          {
              return defaultValue;
          }
  
          return getInt(key.name(), defaultValue);
      }
docs: Equivalent to {@link #getInt(String, int)
  getInt}{@code (key.name(), defaultValue)}.
  If {@code key} is null}, {@code defaultValue} is returned.