}
else {
defaultValueAsString = defaultValue.toString();
}
result.addOption(new DetailedModuleDefinitionResource.Option(option.getName(),
type == null ? null : type.getSimpleName(), option.getDescription(),
defaultValueAsString, option.isHidden()));
}
}
return result;