int (notifyAboutMagic_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = java.lang.Boolean.compare(isSetCommands(), other.isSetCommands()); if (lastComparison != 0) { return lastComparison; } if (isSetCommands()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.commands, other.commands); if (lastComparison != 0) { return lastComparison; } } lastComparison = java.lang.Boolean.compare(isSetIsAutoMagic(), other.isSetIsAutoMagic()); if (lastComparison != 0) { return lastComparison; } if (isSetIsAutoMagic()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isAutoMagic, other.isAutoMagic); if (lastComparison != 0) { return lastComparison; } } return 0; }