in java/com/jetbrains/cef/remote/thrift_codegen/KeyEvent.java [544:623]
public boolean equals(KeyEvent that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_type = true && this.isSetType();
boolean that_present_type = true && that.isSetType();
if (this_present_type || that_present_type) {
if (!(this_present_type && that_present_type))
return false;
if (!this.type.equals(that.type))
return false;
}
boolean this_present_modifiers = true;
boolean that_present_modifiers = true;
if (this_present_modifiers || that_present_modifiers) {
if (!(this_present_modifiers && that_present_modifiers))
return false;
if (this.modifiers != that.modifiers)
return false;
}
boolean this_present_windows_key_code = true;
boolean that_present_windows_key_code = true;
if (this_present_windows_key_code || that_present_windows_key_code) {
if (!(this_present_windows_key_code && that_present_windows_key_code))
return false;
if (this.windows_key_code != that.windows_key_code)
return false;
}
boolean this_present_native_key_code = true;
boolean that_present_native_key_code = true;
if (this_present_native_key_code || that_present_native_key_code) {
if (!(this_present_native_key_code && that_present_native_key_code))
return false;
if (this.native_key_code != that.native_key_code)
return false;
}
boolean this_present_is_system_key = true;
boolean that_present_is_system_key = true;
if (this_present_is_system_key || that_present_is_system_key) {
if (!(this_present_is_system_key && that_present_is_system_key))
return false;
if (this.is_system_key != that.is_system_key)
return false;
}
boolean this_present_character = true;
boolean that_present_character = true;
if (this_present_character || that_present_character) {
if (!(this_present_character && that_present_character))
return false;
if (this.character != that.character)
return false;
}
boolean this_present_unmodified_character = true;
boolean that_present_unmodified_character = true;
if (this_present_unmodified_character || that_present_unmodified_character) {
if (!(this_present_unmodified_character && that_present_unmodified_character))
return false;
if (this.unmodified_character != that.unmodified_character)
return false;
}
boolean this_present_focus_on_editable_field = true;
boolean that_present_focus_on_editable_field = true;
if (this_present_focus_on_editable_field || that_present_focus_on_editable_field) {
if (!(this_present_focus_on_editable_field && that_present_focus_on_editable_field))
return false;
if (this.focus_on_editable_field != that.focus_on_editable_field)
return false;
}
return true;
}