/** * Factory method. * * @param key the key of the parameter * @param value the value of the parameter * @return a parameter with the specified key and value */ public static Parameter of(ParamsProperty key, Object value) { return new Parameter(key, value); }