field.setLabel(param.getName());
field.setDescription(param.getDescription());
if (param instanceof ObjectMember) {
field.setHelpReference(((ObjectMember) param).getHelp());
} else {
final HelpFacet helpFacet = param.getFacet(HelpFacet.class);
final String value = helpFacet.value();
field.setHelpReference(value);
}
field.setRequired(isRequired);
field.setHidden(false);