in java/com/jetbrains/cef/remote/thrift_codegen/ContextMenuParams.java [1346:1544]
public int compareTo(ContextMenuParams other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
lastComparison = java.lang.Boolean.compare(isSetX(), other.isSetX());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetX()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.x, other.x);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetY(), other.isSetY());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetY()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.y, other.y);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetType_flags(), other.isSetType_flags());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetType_flags()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.type_flags, other.type_flags);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetLink_url(), other.isSetLink_url());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetLink_url()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.link_url, other.link_url);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetUnfiltered_link_url(), other.isSetUnfiltered_link_url());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetUnfiltered_link_url()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.unfiltered_link_url, other.unfiltered_link_url);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetSource_url(), other.isSetSource_url());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetSource_url()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.source_url, other.source_url);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetHas_image_contents(), other.isSetHas_image_contents());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetHas_image_contents()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.has_image_contents, other.has_image_contents);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetTitle_text(), other.isSetTitle_text());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetTitle_text()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.title_text, other.title_text);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetPage_url(), other.isSetPage_url());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetPage_url()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.page_url, other.page_url);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetFrame_url(), other.isSetFrame_url());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetFrame_url()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.frame_url, other.frame_url);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetFrame_charset(), other.isSetFrame_charset());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetFrame_charset()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.frame_charset, other.frame_charset);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetMedia_type(), other.isSetMedia_type());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetMedia_type()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.media_type, other.media_type);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetMedia_state_flags(), other.isSetMedia_state_flags());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetMedia_state_flags()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.media_state_flags, other.media_state_flags);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetSelected_text(), other.isSetSelected_text());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetSelected_text()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.selected_text, other.selected_text);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetMisspelled_word(), other.isSetMisspelled_word());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetMisspelled_word()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.misspelled_word, other.misspelled_word);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetIs_editable(), other.isSetIs_editable());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetIs_editable()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.is_editable, other.is_editable);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetIs_spellcheck_enabled(), other.isSetIs_spellcheck_enabled());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetIs_spellcheck_enabled()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.is_spellcheck_enabled, other.is_spellcheck_enabled);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetEdit_state_flags(), other.isSetEdit_state_flags());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetEdit_state_flags()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.edit_state_flags, other.edit_state_flags);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetIs_custom_menu(), other.isSetIs_custom_menu());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetIs_custom_menu()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.is_custom_menu, other.is_custom_menu);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}