{%- for field in fields -%}
ObjectsCompat.equals(this.{{ field.name }}, that.{{ field.name }}) {%- if not (loop.last) %}
&& {% endif %}
{%- endfor -%}