public boolean equals()

in java/com/jetbrains/cef/remote/thrift_codegen/CompositionUnderline.java [413:465]


  public boolean equals(CompositionUnderline that) {
    if (that == null)
      return false;
    if (this == that)
      return true;

    boolean this_present_range = true && this.isSetRange();
    boolean that_present_range = true && that.isSetRange();
    if (this_present_range || that_present_range) {
      if (!(this_present_range && that_present_range))
        return false;
      if (!this.range.equals(that.range))
        return false;
    }

    boolean this_present_color = true && this.isSetColor();
    boolean that_present_color = true && that.isSetColor();
    if (this_present_color || that_present_color) {
      if (!(this_present_color && that_present_color))
        return false;
      if (!this.color.equals(that.color))
        return false;
    }

    boolean this_present_backgroundColor = true && this.isSetBackgroundColor();
    boolean that_present_backgroundColor = true && that.isSetBackgroundColor();
    if (this_present_backgroundColor || that_present_backgroundColor) {
      if (!(this_present_backgroundColor && that_present_backgroundColor))
        return false;
      if (!this.backgroundColor.equals(that.backgroundColor))
        return false;
    }

    boolean this_present_thick = true;
    boolean that_present_thick = true;
    if (this_present_thick || that_present_thick) {
      if (!(this_present_thick && that_present_thick))
        return false;
      if (this.thick != that.thick)
        return false;
    }

    boolean this_present_style = true && this.isSetStyle();
    boolean that_present_style = true && that.isSetStyle();
    if (this_present_style || that_present_style) {
      if (!(this_present_style && that_present_style))
        return false;
      if (!this.style.equals(that.style))
        return false;
    }

    return true;
  }