/** * Creates a new {@link Fields} instance from the given field name and target reference. * * @param name must not be {@literal null} or empty. * @param target must not be {@literal null} or empty. * @return */ public static Fields bind(String name, String target) { return Fields.from(field(name, target)); }
/** * Creates a new {@link Fields} instance for the given field names. * * @see Fields#fields(String...) * @param fields must not be {@literal null}. * @return */ public static Fields fields(String... fields) { return Fields.fields(fields); }