code: public int getInt(String name) {
      String valueString = getTrimmed(name);
      Preconditions.checkNotNull(valueString);
      String hexString = getHexDigits(valueString);
      if (hexString != null) {
        return Integer.parseInt(hexString, 16);
      }
      return Integer.parseInt(valueString);
    }
docs: Get the value of the {@code name} configuration property as an {@code int}.  If the property is missing
  from the configuration or is not a valid {@code int}, then an exception is thrown.
  
  @param name the configuration property name
  @throws NumberFormatException if the configured value is not a valid {@code int}
  @throws NullPointerException if the configuration property is not present in the loaded config
  @return the configuration property value as an {@code int}