case Option.ADDRESS_OPTION: ival = VM_CommandLineArgs.primitiveParseInt(value); ((AddressOption)o).setValue(ival); return true;
  public static boolean process(String arg) {    // First handle the "option commands"    if (arg.equals("help")) {       printHelp();       return true;    }    if (arg.equals("printOptions")) {       printOptions();       return true;    }    if (arg.equals("")) {      printHelp();      return true;    }    // Required format of arg is 'name=value'    // Split into 'name' and 'value' strings    int split = arg.indexOf('=');    if (split == -1) {      VM.sysWriteln("  Illegal option specification!\n  \""+arg+                  "\" must be specified as a name-value pair in the form of option=value");      return false;    }    String name = arg.substring(0,split);    String value = arg.substring(split+1);    Option o = Option.getOption(name);     if (o == null) return false;    switch (o.getType()) {      case Option.BOOLEAN_OPTION:        if (value.equals("true")) {          ((BooleanOption)o).setValue(true);          return true;        } else if (value.equals("false")) {          ((BooleanOption)o).setValue(false);          return true;        }        return false;      case Option.INT_OPTION:        int ival = VM_CommandLineArgs.primitiveParseInt(value);        ((IntOption)o).setValue(ival);        return true;      case Option.FLOAT_OPTION:        float fval = VM_CommandLineArgs.primitiveParseFloat(value);        ((FloatOption)o).setValue(fval);        return true;      case Option.STRING_OPTION:        ((StringOption)o).setValue(value);        return true;      case Option.ENUM_OPTION:        ((EnumOption)o).setValue(value);        return true;      case Option.PAGES_OPTION:        long pval = VM_CommandLineArgs.parseMemorySize(          o.getName(),          ":gc:" + o.getKey() + "=",          "b",          1,          ":gc:" + o.getKey() + "=" + value,          value);        if (pval < 0) return false;        ((PagesOption)o).setBytes(Extent.fromIntSignExtend((int)pval));        return true;      case Option.MICROSECONDS_OPTION:        int mval = VM_CommandLineArgs.primitiveParseInt(value);        ((MicrosecondsOption)o).setMicroseconds(mval);        return true;    }    // None of the above tests matched, so this wasn't an option    return false;  }