code: public static StringCliParam fromDef(StringParamDef def) {
          return new StringCliParam(def.getIdentifier(), def.getDefaultValueSupplier(), def.isNullable(), def.getValuesSupplier());
      }
docs: Construct a CLI string parameter from a {@link StringParamDef}.
  
  @param def StringParamDef to construct a CLI string parameter from.
  @return A CLI string parameter constructed from the StringParamDef.