code: public String getResultDetail(int index) {
      if (!detail) return null;
      if (index < 0 || index >= getResultCount()) throw new IllegalArgumentException(CLASS + ": illegal value for index");
      return details.get(index);
    }
docs: Get the detail with the given index. The index can range between 0 and {@link #getResultCount()}<code> - 1</code>.
  However, only for value options which take details, a non-<code>null</code> detail will be returned. Non-value options
  and value options which do not take details always return <code>null</code>.
  <p>
  @param index The index for the desired value
  <p>
  @return The option detail with the given index
  <p>
  @throws IllegalArgumentException If the value for <code>index</code> is out of bounds