code: public static void addEqualsCall(CodeBuilder b,
                                       String fieldName,
                                       TypeDesc fieldType,
                                       boolean testForNull,
                                       Label fail,
                                       LocalVariable other)
      {
          b.loadThis();
          b.loadField(fieldName, fieldType);
  
          b.loadLocal(other);
          b.loadField(fieldName, fieldType);
  
          addValuesEqualCall(b, fieldType, testForNull, fail, false);
      }
docs: Generates code to compare a field in this object against the same one in a
  different instance. Branch to the provided Label if they are not equal.
  
  @param b {@link CodeBuilder} to which to add the code
  @param fieldName the name of the field
  @param fieldType the type of the field
  @param testForNull if true and the values are references, they will be considered
  unequal unless neither or both are null.  If false, assume neither is null.
  @param fail the label to branch to
  @param other the other instance to test