@SuppressWarnings("unchecked")
protected void setOption(OptionDescription desc, String value)
throws MandatoryValueMissing, InvalidOptionValue {
if (desc.defaultValue == null && value == null) {
throw new MandatoryValueMissing("Option --" + desc.longOptionName +
" requires a value.");
}
Class<?> type = desc.field.getType();
Object valueObj = desc.interpretValue(value);