code: @CheckForNull
      public <T extends QEmuOption> T getOption(@Nonnull Class<T> type) {
          List<? extends T> options = getOptions(type);
          if (options.isEmpty())
              return null;
          return options.iterator().next();
      }
docs: Returns the first option of the specified type in this command line.
  
  If there are no options of type <code>type</code>, null is returned.
  If there is more than one option of type <code>type</code>, the subsequent
  options are ignored.