in java/com/jetbrains/cef/remote/thrift_codegen/ContextMenuParams.java [1102:1280]
public boolean equals(ContextMenuParams that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_x = true;
boolean that_present_x = true;
if (this_present_x || that_present_x) {
if (!(this_present_x && that_present_x))
return false;
if (this.x != that.x)
return false;
}
boolean this_present_y = true;
boolean that_present_y = true;
if (this_present_y || that_present_y) {
if (!(this_present_y && that_present_y))
return false;
if (this.y != that.y)
return false;
}
boolean this_present_type_flags = true;
boolean that_present_type_flags = true;
if (this_present_type_flags || that_present_type_flags) {
if (!(this_present_type_flags && that_present_type_flags))
return false;
if (this.type_flags != that.type_flags)
return false;
}
boolean this_present_link_url = true && this.isSetLink_url();
boolean that_present_link_url = true && that.isSetLink_url();
if (this_present_link_url || that_present_link_url) {
if (!(this_present_link_url && that_present_link_url))
return false;
if (!this.link_url.equals(that.link_url))
return false;
}
boolean this_present_unfiltered_link_url = true && this.isSetUnfiltered_link_url();
boolean that_present_unfiltered_link_url = true && that.isSetUnfiltered_link_url();
if (this_present_unfiltered_link_url || that_present_unfiltered_link_url) {
if (!(this_present_unfiltered_link_url && that_present_unfiltered_link_url))
return false;
if (!this.unfiltered_link_url.equals(that.unfiltered_link_url))
return false;
}
boolean this_present_source_url = true && this.isSetSource_url();
boolean that_present_source_url = true && that.isSetSource_url();
if (this_present_source_url || that_present_source_url) {
if (!(this_present_source_url && that_present_source_url))
return false;
if (!this.source_url.equals(that.source_url))
return false;
}
boolean this_present_has_image_contents = true;
boolean that_present_has_image_contents = true;
if (this_present_has_image_contents || that_present_has_image_contents) {
if (!(this_present_has_image_contents && that_present_has_image_contents))
return false;
if (this.has_image_contents != that.has_image_contents)
return false;
}
boolean this_present_title_text = true && this.isSetTitle_text();
boolean that_present_title_text = true && that.isSetTitle_text();
if (this_present_title_text || that_present_title_text) {
if (!(this_present_title_text && that_present_title_text))
return false;
if (!this.title_text.equals(that.title_text))
return false;
}
boolean this_present_page_url = true && this.isSetPage_url();
boolean that_present_page_url = true && that.isSetPage_url();
if (this_present_page_url || that_present_page_url) {
if (!(this_present_page_url && that_present_page_url))
return false;
if (!this.page_url.equals(that.page_url))
return false;
}
boolean this_present_frame_url = true && this.isSetFrame_url();
boolean that_present_frame_url = true && that.isSetFrame_url();
if (this_present_frame_url || that_present_frame_url) {
if (!(this_present_frame_url && that_present_frame_url))
return false;
if (!this.frame_url.equals(that.frame_url))
return false;
}
boolean this_present_frame_charset = true && this.isSetFrame_charset();
boolean that_present_frame_charset = true && that.isSetFrame_charset();
if (this_present_frame_charset || that_present_frame_charset) {
if (!(this_present_frame_charset && that_present_frame_charset))
return false;
if (!this.frame_charset.equals(that.frame_charset))
return false;
}
boolean this_present_media_type = true;
boolean that_present_media_type = true;
if (this_present_media_type || that_present_media_type) {
if (!(this_present_media_type && that_present_media_type))
return false;
if (this.media_type != that.media_type)
return false;
}
boolean this_present_media_state_flags = true;
boolean that_present_media_state_flags = true;
if (this_present_media_state_flags || that_present_media_state_flags) {
if (!(this_present_media_state_flags && that_present_media_state_flags))
return false;
if (this.media_state_flags != that.media_state_flags)
return false;
}
boolean this_present_selected_text = true && this.isSetSelected_text();
boolean that_present_selected_text = true && that.isSetSelected_text();
if (this_present_selected_text || that_present_selected_text) {
if (!(this_present_selected_text && that_present_selected_text))
return false;
if (!this.selected_text.equals(that.selected_text))
return false;
}
boolean this_present_misspelled_word = true && this.isSetMisspelled_word();
boolean that_present_misspelled_word = true && that.isSetMisspelled_word();
if (this_present_misspelled_word || that_present_misspelled_word) {
if (!(this_present_misspelled_word && that_present_misspelled_word))
return false;
if (!this.misspelled_word.equals(that.misspelled_word))
return false;
}
boolean this_present_is_editable = true;
boolean that_present_is_editable = true;
if (this_present_is_editable || that_present_is_editable) {
if (!(this_present_is_editable && that_present_is_editable))
return false;
if (this.is_editable != that.is_editable)
return false;
}
boolean this_present_is_spellcheck_enabled = true;
boolean that_present_is_spellcheck_enabled = true;
if (this_present_is_spellcheck_enabled || that_present_is_spellcheck_enabled) {
if (!(this_present_is_spellcheck_enabled && that_present_is_spellcheck_enabled))
return false;
if (this.is_spellcheck_enabled != that.is_spellcheck_enabled)
return false;
}
boolean this_present_edit_state_flags = true;
boolean that_present_edit_state_flags = true;
if (this_present_edit_state_flags || that_present_edit_state_flags) {
if (!(this_present_edit_state_flags && that_present_edit_state_flags))
return false;
if (this.edit_state_flags != that.edit_state_flags)
return false;
}
boolean this_present_is_custom_menu = true;
boolean that_present_is_custom_menu = true;
if (this_present_is_custom_menu || that_present_is_custom_menu) {
if (!(this_present_is_custom_menu && that_present_is_custom_menu))
return false;
if (this.is_custom_menu != that.is_custom_menu)
return false;
}
return true;
}