diff options
Diffstat (limited to 'generator/templates/function_template.java')
-rw-r--r-- | generator/templates/function_template.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generator/templates/function_template.java b/generator/templates/function_template.java index 4372114d4..96ac7cf99 100644 --- a/generator/templates/function_template.java +++ b/generator/templates/function_template.java @@ -33,6 +33,7 @@ {%- endif %} public {{class_name}} set{{p.title}}({% if p.mandatory %}@NonNull {% endif %}{{p.return_type}} {{p.last}}) { setParameters({{p.key}}, {{p.last}}); + return this; } /** |