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