if (isNullOrEmpty(name)) {
name = fieldName;
}
name = prefix + name;
String defaultValue = param.defaultValue();
String defaultValueNote = param.defaultValueNote();
// if the field type is a nested parameter then iterate through its fields
TypeMirror fieldType = fieldElement.asType();
String fieldTypeName = fieldType.toString();