in java/com/jetbrains/cef/remote/thrift_codegen/KeyEvent.java [651:739]
public int compareTo(KeyEvent other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
lastComparison = java.lang.Boolean.compare(isSetType(), other.isSetType());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetType()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.type, other.type);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetModifiers(), other.isSetModifiers());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetModifiers()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.modifiers, other.modifiers);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetWindows_key_code(), other.isSetWindows_key_code());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetWindows_key_code()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.windows_key_code, other.windows_key_code);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetNative_key_code(), other.isSetNative_key_code());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetNative_key_code()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.native_key_code, other.native_key_code);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetIs_system_key(), other.isSetIs_system_key());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetIs_system_key()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.is_system_key, other.is_system_key);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetCharacter(), other.isSetCharacter());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetCharacter()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.character, other.character);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetUnmodified_character(), other.isSetUnmodified_character());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetUnmodified_character()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.unmodified_character, other.unmodified_character);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetFocus_on_editable_field(), other.isSetFocus_on_editable_field());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetFocus_on_editable_field()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.focus_on_editable_field, other.focus_on_editable_field);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}