public void setOptAbbrev(boolean optAbbrev) {
    if (optVerbose) {
      if (optAbbrev && optNoAbbrev) {
        throw new IllegalArgumentException(ExceptionMessageMap.getMessage("000120")
            + "  --abbrev cannot be used with --no-abbrev.");
      }
      this.optAbbrev = optAbbrev;
    }
  }
public void setOptAbbrev(boolean optAbbrev) {
    if (optVerbose) {
      if (optAbbrev && optNoAbbrev) {
        throw new IllegalArgumentException(ExceptionMessageMap.getMessage("000120")
            + "  --abbrev cannot be used with --no-abbrev.");
      }
      this.optAbbrev = optAbbrev;
    }
  }
public void setOptAbbrev ( boolean optAbbrev ) { if ( optVerbose ) { if ( optAbbrev && optNoAbbrev ) { throw new IllegalArgumentException ( ExceptionMessageMap . getMessage ( "000120" ) + "  --abbrev cannot be used with --no-abbrev." ) ; } this . optAbbrev = optAbbrev ; } }
Checks whether the --abbrev option should be set and sets it.

@param optAbbrev True if the --abbrev option should be used, false otherwise.
Checks whether the -- abbrev option should be set and sets it .