/** * Creates a new config option, using this option's key and default value, and * adding the given description. The given description is used when generation the configuration documention. * * @param description The description for this option. * @return A new config option, with given description. */ public ConfigOption<T> withDescription(final String description) { return withDescription(Description.builder().text(description).build()); }
/** * Creates a new config option, using this option's key and default value, and * adding the given description. The given description is used when generation the configuration documention. * * @param description The description for this option. * @return A new config option, with given description. */ public ConfigOption<T> withDescription(final String description) { return withDescription(Description.builder().text(description).build()); }