code: public void setOptMUpper(boolean optMUpper) {
      checkCanSetRenameOption("-M");
      if (optMLower && optMUpper) {
        throw new IllegalArgumentException(ExceptionMessageMap.getMessage("000120")
            + "  -M cannot be used with -m.");
      } 
      this.optMUpper = optMUpper;
    }
docs: Checks whether the -M option should be set and sets it.
  
  @param optMUpper True if the -M option should be used, false otherwise.